Web Hosting Talk







View Full Version : How do I password protect a directory (page)


setherd
09-11-2002, 01:21 PM
I want to have a password for some sections of my site.
this is on apache.
I'd like to be able to have some one enter a password once, then browse a section of the site.

not separate passwords for diffferent people, just 1 password to get in.

I want to keep some business information private from the public

thanks!
Seth

lpguitars
09-11-2002, 01:37 PM
Just use the.htaccess file - here's a page I found with a comprehensive tutorial on it. I just searched htaccess on google.

http://www.javascriptkit.com/howto/htaccess.shtml

or actually, more specifically:
http://www.javascriptkit.com/howto/htaccess3.shtml

DigiCrime
09-11-2002, 01:55 PM
look over at apache.org and search for the help file on .htaccess if you want a secure way of password protecting

setherd
09-11-2002, 05:55 PM
Thanks I got it to work!