简体   繁体   English

如何验证域?

[英]How can I authenticate to a domain?

I've got a windows server which runs our team foundation server and my self written .NET-Webservice. 我有一个Windows服务器,该服务器运行我们的团队基础服务器和我自己编写的.NET-Webservice。 The windows server acts inside of a domain. Windows服务器在域内部运行。 My webserver gets now the username and password for other computers inside of the domain. 我的Web服务器现在获取域内其他计算机的用户名和密码。 How can I authenticate them on my webservice? 如何在我的Web服务上对它们进行身份验证? I want that only users, which are part of the domain, are able to work with the webservice. 我希望只有属于域的用户才能使用Web服务。

If you get the username and password as parameter to the API you can use the method described here: 如果将用户名和密码作为API的参数,则可以使用此处描述的方法:

Validate a username and password against Active Directory? 根据Active Directory验证用户名和密码?

If it is a IIS hosted Application you can configured it in the web.config (windows authentication) 如果它是IIS托管的应用程序,则可以在web.config中进行配置(Windows身份验证)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 dotnetcore 中对不属于域用户的用户进行身份验证? - How can I authenticate a user that does not belong to Domain Users in dotnetcore? 如何认证用户? - How can I authenticate a user? 如何验证SharePoint用户凭据 - How can I authenticate SharePoint user credentials 如何注册将验证域用户的 HttpClient - How to register HttpClient that will authenticate domain user 如何使用.Net针对Windows域之外的Kerberos领域对用户名和密码进行身份验证? - How can one use .Net to authenticate a username and password against a Kerberos realm outside one's Windows domain? 如何使用来自WebAPI的域的用户对WebAPI上不同计算机上的客户端进行身份验证? - how can authenticate a client on a different machine on a WebAPI with a user from WebAPI's domain? 如何使用linq验证用户名/密码? - How can I use linq to authenticate username/password? 如何在Nancy中针对Active Directory进行身份验证? - How can I authenticate against Active Directory in Nancy? 如何验证用户到他们自己的谷歌驱动器帐户? - How can I authenticate users to their own google drive account? 如何验证整个计算机而不是Web浏览器的身份? - how can i authenticate the whole computer instead of web browser?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM