Re: NT Auto Authentication?
| From: | Manuel Lemos | Date: | Tue, 18 Jan 2005 03:51:35 +0000 |
| Subject: | Re: NT Auto Authentication? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206610@lists.php.net to get a copy of this message | ||
Hello,
on 01/17/2005 11:53 PM Adrian Madrid said the following:
Anybody figured out how to auto authenticate into a windows server? I need to have some users log through NT Authentication on their browser without typing their username and password. I was wondering if I could use PHP + COM or something like that but I can't find anything. I have found some scripts that validate against NTLM but I have not been able to find a script that would actually validate the browser/session against a NT server. Help!Just configure your Web server to require NTLM authentication for accessing the PHP scripts that you intend to be restricted. GetEnv("LOGON_USER"); will return the authenticated user name. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html