[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Password protection problems
On Sat, 12 Feb 2000 17:27:43 -0000, you wrote:
>If I change:
>
>require valid-user
>
>to:
>
>require user "myusername"
>
>will that stop other people getting into the directory?
Why not use a htacces file like this?
order allow,deny
allow from all
require valid-user
Authname DirectoryName
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site8/web/protected/.htpasswd
then just go via telnet in the dir, you want to protect an type
/usr/sbin/htpasswd -c .htpasswd
than follow the instructions on the screen.
Thats all.
Karl-Heinz