[pubcookie-dev] My own scripts + pubcookie auth
Nathan Dors
dors at cac.washington.edu
Wed May 24 07:05:09 PDT 2006
Yes this is the correct way for scripts of any kind (PHP, Perl,
ASP) to receive authentication information provided by Pubcookie.
On Unix, scripts use REMOTE_USER.
On Windows, HTTP_PUBCOOKIE_USER.
-Nathan
On Wed, 24 May 2006, Michael Goncharenko wrote:
> Hello Everyone,
>
> I am writing my own script (in php) to authenticate with Pubcookie SSO mechanism.
> Now I just trust $_SERVER["REMOTE_USER"] variable received from pubcookie login server.
>
> I just want to ask: is it the correct way?
> Or is there a different approach?..
>
> P.S. My script does not have access to LDAP, where all usernames+passwords are stored, so it can not validate user's password.
>
> Thanks,
> Michael
More information about the pubcookie-dev
mailing list