本文介绍了我如何从互联网访问Active Directory中启用的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何访问活动目录从互联网上启用ASP.net网站OM IIS7并做验证对AD?

How do I access a Active directory enabled ASP.net website om IIS7 from the internet and do authentication against the AD?

推荐答案

如果您启用Windows身份验证,设置拒绝用户=?在你的web.config,并配置ASP.NET的Active Directory成员资格提供,它的工作原理。

If you enable Windows Authentication, set deny users="?" in your web.config, and configure the ASP.NET Active Directory Membership Provider, it works.

下面是如何配置:

如果你需要使用窗体身份验证,这里是如何配置:

If you need to use Forms Authentication, here is how to configure that: http://msdn.microsoft.com/en-us/library/ff650308.aspx

这篇关于我如何从互联网访问Active Directory中启用的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 00:33