RE: [PHP-WIN] How can I retreive a users Windows logon name?
| From: | Christian Sandfeld | Date: | Mon, 17 Sep 2001 17:22:14 +0000 |
| Subject: | RE: [PHP-WIN] How can I retreive a users Windows logon name? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9388@lists.php.net to get a copy of this message | ||
Adrian, Frank,
That was exactly what I was looking for. I wasn't aware that changes had to
be made to the security stuff, but in hindsight it makes perfect sence.
Thanks a lot ;-)
/Christian
-----Original Message-----
From: Frank M. Kromann [mailto:frank@frontbase.com]
Sent: 17. september 2001 18:41
To: Christian Sandfeld
Cc: 'php-windows@lists.php.net'
Subject: Re: [PHP-WIN] How can I retreive a users Windows logon name?
Hi Christian,
If you change the access control from Basic to NT LM for the Intranet web
site you will gain the following things:
1) Users loged on to the same NT domain as the web server will be veryfied
and have access to your Intranet. This will work for IE browsers. If you use
netscape or the user is unautoraized by the NT Domain the user will be
prompted for a user id and password.
2) The users login name and auth method will be available in $AUTH_USER and
$AUTH_TYPE.
- Frank
> Hi group,
>
> Is there any way I can retreive a users Windows logon name?
>
> I'm running a system with IIS 4/PHP 4.0.6/MySQL 3.23.xx.
>
> Basicaly what I'm after is some simple way to verify what user is
accessing
> our intranet, without having to prompt the user for his initials.
>
> I am aware that this does not provide for much security, but that's ok
(I'm
> not after security, only after a simple user verification).
>
> I thank you in advance for your time ;-)
>
> /Christian
>
> ----------------------------------------------
> Christian Sandfeld
> Zensys A/S
> ----------------------------------------------
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net