Reputation: 73938
I'm building a website and I need authenticate a User using Active Directory.
My website is on a different network and IP from the Server where the Active Directory is running (it is in a completely different network and domain).
I would like to know if is possible build an Login Page which could authenticate an User on a remote AD.
Thanks for your time.
Upvotes: 0
Views: 289
Reputation: 444
You should not deploy any web services on an Active Directory server.
You can use System.Directoryservices.Accountmanagement namespace classes (.NET 4) or using ADSI.
Upvotes: 2
Reputation: 29831
One way of doing it would be to use LDAP to validate the supplied user credentials. Here is an example from Microsoft on how you could do it.
Upvotes: 3
Reputation: 21034
I had a similar situation to this, and the only way I could think to do it was like this:
Don't think there is any way for you to use the authentication over the external website other than along these lines.
Upvotes: 0