RE: [PHP] Authentication



[snip]
My application is only used within my company. I want to pull the NT
Authenticated user that is logged in, cross reference that user with
what I
have pulled from ldap and verify the user's name is valid. If the
username
is valid I will assign it to a variable and use that variable to store
the
name of the user that submitted the requests.

Yes, I am trying to get a single sign on method if possible.
[/snip]

This is one of those holy grail questions asked before several times
here. In order to pull this off the computer would have to know who you
are after you have logged on. ASP has
Request.Servervariables("LOGON_USER") and requires that the web server
(IIS) be set up properly.... if IIS is set to use Basic Authentication
or Windows Authentication then LOGON_USER is populated.

So this is not possible using PHP (server-side). Perhaps JavaScript? Not
really. Hours of searching the web will reveal that this is not
probable.
.



Relevant Pages

  • Re: Please help, directory level protection needed.
    ... The last time I had to deal with IIS ... > you rely on the Web Server to implement a check to control access. ... >> I am trying to implement a secure software update directory. ... >> http request will require basic authentication. ...
    (microsoft.public.inetserver.iis.security)
  • Re: access to network file server through web server denied
    ... For setting up Kerberos and Delegation, I have a set of FAQ available here: ... On our local developer's web server (It can be IIS 5 on Windows XP ... Integrated windows authentication> checked. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Silent NTLM Autentification from httpclient
    ... I am willing to be bet that the web server you are accessing uses IIS. ... IE and IIS have an incestuous relationship. ... and see if that forces and authentication. ...
    (comp.lang.java.programmer)
  • Digest Authentication of account in Trusted Domain fails with WebDAV
    ... and a Windows 2000 web server. ... Authentication on the IIS web server. ... When accessing a WebDAV resource on the server, Basic Authentication to both ...
    (microsoft.public.win2000.security)
  • Re: iis6 passthrough authentication from outside the domain
    ... Integrated Windows Authentication on a non-domain joined machine then you ... important point is that you still need to authenticate successfully to IIS ... So when you run the site on a web server in the domain all is well, ...
    (microsoft.public.inetserver.iis.security)