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

RE: [cobalt-users] access resticted to all users of a virtual site



> 
> (I want all registered users to have access with their
> own passwd and also to be able to give a "guest"
> access for demo purpose without having to create an
> account that has others privileges)
> 

Try this, not sure if it would work, let me know if it does:

# .htaccess file
order allow,deny
allow from all
require valid-user group site#
AuthName "Access Restricted"
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site#/web/path/to/password/file/.htpasswd
<Limit GET POST>
require valid-user
</Limit>

Of course, you'll need to populate your .htpasswd file with your guest
account credentials.

--
Robert