对于非域用户Active Directory身份验证身份验证、用户、Active、Directory

2023-09-08 13:15:01 作者:夜◇无忧

我在使用Windows身份验证的Web应用程序。我也想非域用户对广告进行身份验证。我可以有域成员可以直接进入网站,与非会员输入他们的域用户名和密码。

I have a web application using windows authentication. I also want to authenticate non-domain users against AD. Can I have domain members can enter site directly, and non-members enter their domain username and password.

我怎样才能做到这一点?

How can I do this?

推荐答案

这是可能做到这一点,但你可能想在运行访问一组类似的应用code两个不同的Web应用程序。

It is possible to do this but you probably want to have 2 distinct web applications running accessing a similar set of application code.

在Web应用程序1被配置为使用Windows身份验证。 在Web应用程序2被配置为使用Forms身份验证。你需要有一些额外的code在这个应用程序,允许用户使用LDAP对Active Directory来验证自己的身份。这code被放置在一个认证供应商,如果你使用ASP.NET。