Re: [PHP] Authentication
- From: quickshiftin@xxxxxxxxx ("Nathan Nobbe")
- Date: Tue, 31 Jul 2007 12:09:14 -0400
Dan,
i realize i misunderstood the original question. am i to understand you
have php running
on all of the client machines ?
thanks,
-nathan
On 7/31/07, Dan Shirah <mrsquash2@xxxxxxxxx> wrote:
Correct Stut, I want transparent authentication, but I also want to have
the
currently logged in user name pulled so I can use it for tracking
purposes.
My application deals with very sensitive company information and I want to
pull the username for tracking purposes. I have everything running local
on
the same PC. Win2k3 server, IIS, PHP and MSSQL Server. I have PHP
installed for use with ldap and have NT Authentication set in IIS for the
site. This allows me to perform the transparency, but I can't seem to
extract the username.
On 7/29/07, Stut <stuttle@xxxxxxxxx> wrote:
answer
Dan Shirah wrote:
I looked on PHP.net but I couldn't not find anything suitable to
mywork?
question.currently
Within PHP, is there a way to pull the name of the user that is
logged into the PC?machine
I know with some of the _SERVER functions you can pull the IP of the
and other data, is there a function within this family that would
I'm assuming you're after "transparent authentication" where the user
doesn't need to do anything to authenticate with the site. This is only
possible with IE as the client on an NT domain with the server on the
same domain. If you're using IIS on the server then it's as easy as
removing anonymous and basic authentication from the site/directory. If
you're using Apache or something else you need to find an
extension/module that provides NTLM authentication, but not all of the
ones I tried fully supported the transparent side of it.
I implemented this for a corporate intranet a while back in Apache on
FreeBSD with mod_ntlm (Google for it - dunno if it's still maintained).
That was in 2004 and information was sparse, but with a bit of research
and *lots* of experimenting I was able to get it to work.
To be perfectly honest, if I were doing it again I'd save the time and
use IIS on the server - sooo much easier.
-Stut
--
http://stut.net/
- References:
- Authentication
- From: "Dan Shirah"
- Re: [PHP] Authentication
- From: Stut
- Re: [PHP] Authentication
- From: "Dan Shirah"
- Authentication
- Prev by Date: RE: [PHP] Unexpected values in an associative array
- Next by Date: Re: [PHP] Re: Pirate PHP books online?
- Previous by thread: Re: [PHP] Authentication
- Next by thread: Solution for writing a function layer between pecl-memcache and PHP
- Index(es):
Relevant Pages
|