PHP Classes


Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in

      PHP Classes blog  >  Microsoft promotes th...  >  All threads  >  NTLM  >  (Un) Subscribe thread alerts  
Summary:Need more info on this...
Date:2009-10-02 15:03:40
Update:2009-10-02 17:36:02

  1. NTLM   Reply   Report abuse  
Picture of RONALD ROUSH RONALD ROUSH - 2009-10-02 17:33:01
We gave up on using NTLM on IIS6 with PHP5. We wanted to secure select subdirectories under the wwwroot folder and use the user's active directory credentials to grant (or deny) access to the area. An article on this would be helpful (or a link to a site that covers this) as it seems like the implementation of IIS/AD/PHP has a lot of issues, especially for those of us used to the LAMP world.
Thanks for the article!

  2. Re: NTLM   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-10-02 17:36:02 - In reply to message 1 from RONALD ROUSH
As explained in the article, NTLM authentication has nothing to do with PHP. You just set it in the IIS configuration for whatever URLs you need it. Then you just need to check the $_SERVER['LOGON_USER'] variable. It is the same thing if you use ASP.NET or any other platform or language with IIS.