How do I authenticate against Active Directory from ASP.NET web service code?

前端 未结 3 1281
伪装坚强ぢ
伪装坚强ぢ 2021-01-04 19:57

I have a few websites for work that live outside of the corporate LAN -- and, therefore, out of direct-communication range of Active Directory (A/D) -- but for which I would

3条回答
  •  独厮守ぢ
    2021-01-04 20:01

    You might want to take a look @ these two resources. The first will provide you with everything you want to know about active directory, and the second will show you how to connect.

    • http://www.codeproject.com/KB/system/everythingInAD.aspx
    • http://msdn.microsoft.com/en-us/library/aa302397.aspx

    You might have challenges connecting to the remote AD server though. So as a potential work around, I would consider having the web application call an authentication webservice that resides on the corporate network.

提交回复
热议问题