[WEB4LIB] Code to access one page of a site, using password

James Cayz cayz at lib.de.us
Wed Feb 16 15:54:55 EST 2000


On Wed, 16 Feb 2000, Joan Graham wrote:
>My boss's wife wants to do a web page. She asked me for help. One thing
>I don't know how to do is this:
>This being a personal site, she plans to tell her potential users they
>must use a password to get to a certain page on the site. All users will
>have the SAME password. There should be a box to type in the password.
>When the correct password is typed, the link to the next page will
>activate. I know how to do an I Accept/I Do Not Accept type of thing,
>but not the password deal. Is this a javascript? Please help, if you've
>done this before. Thank you all.
>
>Joan Graham
>Stark County District Library

Joan,

Check w/ the server doc.  If it is Apache, and I presume others, you can
use a server-based solution to ask and verify a user, with no javascript
needed.

For Apache, it is all based around the .htaccess file and the embedded
"require ..." statement.  See section G of the FAQ, specifically G.2 .

Hopefully, this helps????

James



More information about the Web4lib mailing list