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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to