mod_perl Authentication and Authorization James Smith Texas A&M University O’Reilly Open Source Convention
1 June 2001Copyright ©2001 James Smith2 Some Questions What are authentication and authorization? How does mod_perl work with Apache to handle authentication and authorization? What are some of the modules already available on CPAN?
1 June 2001Copyright ©2001 James Smith3 What is Authentication? Authentication answers the question of who someone is.
1 June 2001Copyright ©2001 James Smith4 What is Authorization Authorization answers the question of should a person be where they are.
1 June 2001Copyright ©2001 James Smith5 When is Authorization/Authentication? Access phase Authentication phase Authorization phase
1 June 2001Copyright ©2001 James Smith6 Basic Forms of Authentication Protocol Based Authentication –Basic Authentication –Digest Authentication –NTLM Authentication
1 June 2001Copyright ©2001 James Smith7 Basic Forms of Authentication Forms Based Authentication –Tickets –Sessions TLS/SSL Client Certificates
1 June 2001Copyright ©2001 James Smith8 Possible Module Results OK if authenticated or authorized AUTH_REQUIRED if authentication information is incorrect or user is not authorized
1 June 2001Copyright ©2001 James Smith9 Possible Module Results SERVER_ERROR if an unrecoverable error occurs DECLINED if the module is non- authoritative
1 June 2001Copyright ©2001 James Smith10 Modules Using the Protocol A::AuthLDAP, A::AuthPerLDAP, A::AuthenLDAP A::AuthenN2 A::AuthenNIS A::AuthenNISPlus A::AuthenPasswd, A::AuthzPasswd A::AuthenPasswdSrv
1 June 2001Copyright ©2001 James Smith11 Modules Using the Protocol A::AuthenRadius A::AuthenSecurID A::AuthenSMB A::AuthenURL A::AuthenRadius A::AuthenSecurID A::AuthenSMB A::AuthenURL
1 June 2001Copyright ©2001 James Smith12 Modules using Forms A::AuthCookie, A::AuthCookieDBI, A::AuthCookieURL A::AuthTicket Authen::Ticket
1 June 2001Copyright ©2001 James Smith13 Miscellaneous Modules A::AuthenCache A::AuthzCache
1 June 2001Copyright ©2001 James Smith14 Contact Infomration: James Smith