PHP Authentication Query
Posted: Sat Aug 29, 2009 7:21 am
Hi,
I am trying to write a app that will control user access to a intranet site. The site is written in PHP and perl and resides on a Apache Webserver.
Right, the app will extract the users unique information (DN) from the users PKI certificate, check against a text file for the users name. If they appear then they have access.
Firstly the site has a lot of PHP pages. I would like to verify only once that the user has access and they would then have access to all pages of the site. Is this possible as I do not want to check each each time a user accesses a different page? If so how?
Thanks
I am trying to write a app that will control user access to a intranet site. The site is written in PHP and perl and resides on a Apache Webserver.
Right, the app will extract the users unique information (DN) from the users PKI certificate, check against a text file for the users name. If they appear then they have access.
Firstly the site has a lot of PHP pages. I would like to verify only once that the user has access and they would then have access to all pages of the site. Is this possible as I do not want to check each each time a user accesses a different page? If so how?
Thanks