28/10/2008
Role Based Access Control
7
Authentication Session
lOnce authenticated, you'll need a session to persist that, otherwise you'd need to ask for the userid/password every time
lUsing Authen::Simple with Apache gives us an implicit session
l# a mod_perl Authen handler
lPerlModule Authen::Simple::Apache
lPerlModule Authen::Simple::Passwd
lPerlSetVar AuthenSimplePasswd_path "/etc/passwd“
l<Location /protected> 
l PerlAuthenHandler Authen::Simple::Passwd
l AuthType Basic 
l AuthName "Protected Area“
l Require valid-user
l</Location>