Web Hosting Talk







View Full Version : Password protected folder


mithilesh
02-11-2002, 07:09 PM
How can I make a password protected directory in Red hat Linux7.1.

The Prohacker
02-11-2002, 07:11 PM
protected from people via the web?

like .htaccess?

cheesysticks
02-11-2002, 07:23 PM
This is a rather good page on the subject, theres a few different ways to use it...

http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html

mithilesh
02-11-2002, 07:25 PM
ya basically I want to protect my folder from others on web.

palmtree
02-12-2002, 05:35 AM
As mentioned earlier, if your looking for htaccess info:

http://www.redhat.com/support/resources/faqs/RH-apache-FAQ/topics/htaccess.html

laterz..

cyrusTvirus
02-12-2002, 05:04 PM
AuthType Basic
AuthName "YOUR MESSAGE HERE"
AuthUserFile /home/sites/site4/web/.htpasswd
# SHOULD BE THE ABSOLUTE PATH TO YOUR FOLDER FROM /
AuthPAM_enabled off

<limit GET PUT POST>
require valid-user
</limit>

Do a google search for password.exe which helps you to create encrypted passwords which should placed in .htpasswd

HTH Robbert