baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Christoph Bergmann on 1/10 2003, 15:23 +01:00
    EMail: info@baseportal.com

    Re: More on password protect


      Thank you ,-)

      After setting the Database rights (Database / Management) to "User are allowed to... ...read data" (mark this checkbox only) your users can only view and search the records.

      There are several ways of password protection, depending on what you need: Just a simple protection would be:

      <perl>
      if($password eq "whatever")
      {
      out "Access denied.";
      } else
      {
      do_all "...parameters...", "password";

      }
      </perl>

      This means you can only access this database if you call it with

      http://baseportal.com/cgi-bin/baseportal.pl?htx=/yourname/template&password=whatever

      If you need a more complex password protection scheme take a look at the examples in the library...

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from James Melvin on 1/9 2003, 08:06 +00:00
    EMail: jdmelvin@earthlink.net WWW: anmt.org

    More on password protect


      First of all, What you've done here is fantastic.
      It really got my ass out of a sling.

      Anyway, I'd like to password protect my database and allow the users to only view and search records. Not add to them. Is there a way yet?

      Jim
     Post a reply

    Message from Christoph Bergmann on 1/10 2003, 15:23 +01:00
    EMail: info@baseportal.com

    Re: More on password protect


      Thank you ,-)

      After setting the Database rights (Database / Management) to "User are allowed to... ...read data" (mark this checkbox only) your users can only view and search the records.

      There are several ways of password protection, depending on what you need: Just a simple protection would be:

      <perl>
      if($password eq "whatever")
      {
      out "Access denied.";
      } else
      {
      do_all "...parameters...", "password";

      }
      </perl>

      This means you can only access this database if you call it with

      http://baseportal.com/cgi-bin/baseportal.pl?htx=/yourname/template&password=whatever

      If you need a more complex password protection scheme take a look at the examples in the library...

     Post a reply
     

 Messages from 3300 to 3450: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com