I would need to write an Authentication Module for IIS7 that behaves exactly like NTLM, but does some extra checking. The Module does NTLM against Active Directory (so that the module knows if the user is OK) and then needs to call another service to finally verify access.
I have to do this in an Authentication Module because the actual content on the IIS WebSite is served through a custom IIS Module that's a Black Box to me and I can't modify the client since that's also a Black Box. Also, I cannot use Windows Security Groups as the service I need to call has it's own User Database.
I found this article about writing a custom Authentication provider, but I don't really know how I can verify the user against Active Directory/Windows.
Does anyone have some hints how I could implement NTLM? Doesn't have to be IIS Centric, my problem is more "What do I get from the Client's Browser and how do I verify it"?