[英]Window Active Directory authentication for Intranet user and Forms authentication for Internet users
How do i implement Window Active Directory authentication for Intranet user and Forms authentication for Internet users, i found many examples online explaining each of them individually but can't get to find one that explain both implemented together. 我如何为Intranet用户和Internet用户的Forms身份验证实现Window Active Directory身份验证,我在网上找到了许多单独解释它们的示例,但无法找到解释这两者一起实现的示例。
I have my ASP MVC 4 project working with Forms Authentication but was requested to add Windows Active Directory authenticate for intranet users. 我的ASP MVC 4项目使用Forms身份验证,但被要求为Intranet用户添加Windows Active Directory身份验证。 How do i do it?
我该怎么做?
My existing Forms Authentication 我现有的表单身份验证
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" name=".ASPXFORMSAUTH"/>
</authentication>
I am only just beginning to explore this type of situation myself so I am not going to try and give a definitive answer, but I think that you will want to start looking at Claims Based Authentication and Secure Token Services (STS) Have a look at: 我自己才刚刚开始探索这种情况所以我不会尝试给出明确的答案,但我认为你会想要开始查看基于声明的身份验证和安全令牌服务(STS)看看:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.