PubCookie on Redbrick: Difference between revisions

Jump to navigation Jump to search
m
Added a 'example' section
m (Minor fix)
m (Added a 'example' section)
Line 16: Line 16:


To get more techie, the pubcookie auth module does some clever things like enforce https (i.e. secure web - 'http://www.redbrick.dcu.ie/~colmmacc/yoyo/' should not work), it sets 'REMOTE_USER' to something useful (i.e. their redbrick username) and is generally cool.
To get more techie, the pubcookie auth module does some clever things like enforce https (i.e. secure web - 'http://www.redbrick.dcu.ie/~colmmacc/yoyo/' should not work), it sets 'REMOTE_USER' to something useful (i.e. their redbrick username) and is generally cool.
==To use PubCookie==


In order to use pubcookie authentication for parts of your own website, put the following in a .htaccess file for the directory you'd like to protect:
In order to use pubcookie authentication for parts of your own website, put the following in a .htaccess file for the directory you'd like to protect:
Line 34: Line 36:
  allow from all
  allow from all


[[Main_Page|Redbrick Wiki]], this wiki, uses this as its authenticator.
==Examples==
 
[[User:Shimoda|Shimoda]] has a script that can [http://www.redbrick.dcu.ie/~shimoda/proxy/prox.cgi access webpages from DCU] including sites that DCU has subscriptions to.


[[User:Link|Link]] has a [http://www.redbrick.dcu.ie/~link/news/ web newsreader]
* [[Main_Page|Redbrick Wiki]], this wiki, uses this as its authenticator.
* [[User:Shimoda|Shimoda]] has a script that can [http://www.redbrick.dcu.ie/~shimoda/proxy/prox.cgi access webpages from DCU] including sites that DCU has subscriptions to.
* [[User:Link|Link]] has a [http://www.redbrick.dcu.ie/~link/news/ web newsreader]
269

edits

Navigation menu