On Fri, 25 Jul 2003 14:43:36 +1000, [EMAIL PROTECTED] (Gordon Low)
wrote:

>
>Wondered if someone can help, am floundering about trying to work out
>whether to use htaccess or a database type solution in order to restrict
>access to my personal website. 
>
>Have looked at perl module Apache::Htaccess module and this raises the
>same question I have with the htaccess solution, can I use a different
>password file to my /etc/passwd file. I don't particularly want people
>who log in to the web page given access to the system and I am using
>shadow passwording which I am sure I have seen is not allowed with
>htaccess. Trouble is I am having trouble finding out how to create a
>seperate password file (am using Linux RH 8.0).

I'm not sure you understand how .htaccess works. You put a password
for each allowed user into the .htaccess file. It can be anything you
want, it does not have to be the same password as in /etc/passwd.

Read "man htpasswd" for the details on how to make passwords 
in the .htaccess files. They can be md5 passwords too.  Each protected
directory needs to have it's own .htaccess file, and the same user can
have differing passwords for each directory.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to