[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Restrict directory to administrators only



I know that the following .htaccess file will restrict directory access to any
valid user on the server.  But is there a way to restrict it to the site
administrators only?

For Valid users:
# Access file
order allow,deny
allow from all
require valid-user
Authname "Your Directory Title"
AuthPAM_Enabled on
Authtype Basic
AuthUserFile /etc/shadow


What would the lines be for Site Administrators only?

John