Jump to content

PubCookie on Redbrick: Difference between revisions

Added example for one or more user authentication and changed permission
m (added "" to unique identifier line)
(Added example for one or more user authentication and changed permission)
Line 25: Line 25:
  require valid-user
  require valid-user


(Remember to ''chmod 744'' your .htaccess file otherwise it won't work). And only Redbrick users will be able to use it, and only using their normal Redbrick usernames and passwords.
(Remember to ''chmod 644'' your .htaccess file otherwise it won't work). And only Redbrick users will be able to use it, and only using their normal Redbrick usernames and passwords.
 
If you'd like to use pubcookie authentication to only allow one or a subset of users access to a directory:
 
PubcookieAppID ''"some unique identifier for your area"''
Authtype pubcookie
require username username2 username3


Any files that gets referenced by the html directly eg: javascript , css should not be placed in a protected directory.  
Any files that gets referenced by the html directly eg: javascript , css should not be placed in a protected directory.