简体   繁体   English

ASP.MVC内部网和Internet身份验证

[英]ASP.MVC Intranet and Internet Authentication

I am curious about if MVC4 or MVC 5 supports a feature such that, my application will be accessible via internet and users will be able to login which i can use some membership provider, then same application is available via intranet that users won't need to login ie will be authenticated via AD or if they are in domain no authentication will be required. 我很好奇,如果MVC4或MVC 5支持这样的功能,即可以通过Internet访问我的应用程序,并且用户可以登录我可以使用某些成员资格提供程序的应用程序,然后可以通过Intranet使用该用户不需要的应用程序登录即通过AD进行身份验证,或者如果它们在域中,则无需身份验证。

Is this possible? 这可能吗? is there a built in functionality for this ? 有内置功能吗?

If you use 如果您使用

<authentication mode="Windows" /> 

in your web.config file you have exactly that comportment 在您的web.config文件中,您确实具有这种口才

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM