RE: [PHP-WIN] How to Pass the Username which from Windows Login
| From: | brother | Date: | Mon, 25 Mar 2002 10:51:54 +0000 |
| Subject: | RE: [PHP-WIN] How to Pass the Username which from Windows Login | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12748@lists.php.net to get a copy of this message | ||
The easiest way of doing this (asuming you are using IIS) is to set the
securitysettings for the website and just allow those domainaccounts you
want.
Properties > Directory Security
Uncheck Anonymous access.
Set userrights at the directory you are using as wwwroot.
c:\inetpub\wwwroot\my_domain\
Properties > Security > Add...
/brother
> -----Original Message-----
> From: Jack [mailto:jack@nedcor.com]
> Sent: den 25 mars 2002 07:26
> To: php-general@lists.php.net; php-windows@lists.php.net
> Subject: [PHP-WIN] How to Pass the Username which from Windows Login
>
>
> Dear all
> I want to prevent user to make another login before they can
> browse the
> Intranet, so is there anyway that php can grep the username
> from the windows
> Login or Domain Login?
> Which means if a user can login to the Windows NT, then
> he/she will have the
> right to browse the Intranet!
>
> Thx a lot
> Jack
> jack@nedcor.com
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>