如何从 Internet 访问启用 Active Directory 的网站?

发布于 2024-10-07 02:27:09 字数 75 浏览 0 评论 0原文

如何从 Internet 访问 IIS7 上启用 Active Directory 的 ASP.net 网站并针对 AD 进行身份验证?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

生死何惧 2024-10-14 02:27:09

如果启用 Windows 身份验证,请设置拒绝用户 =“?”在您的 web.config 中,并配置 ASP.NET Active Directory 成员资格提供程序,它可以工作。

以下是配置方法: http://msdn.microsoft.com/en-us/ library/ms998372

如果您需要使用表单身份验证,请按以下步骤进行配置:http://msdn.microsoft.com/en-us/library/ff650308.aspx

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

Here is how to configure it: http://msdn.microsoft.com/en-us/library/ms998372

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

ぺ禁宫浮华殁 2024-10-14 02:27:09

据我了解,你不知道!

您(和您的计算机)必须是活动目录域的成员。
浏览器将您的网络凭据发送到网络服务器进行身份验证。
(我不确定它是否会通过互联网发送这些详细信息,或者是否只会在局域网中发送它们)

As far as I understand it, you dont!

You (and your computer) must be members of the active directory domain.
The browser sends your network credential to the webserver to authenticate.
(and i'm not sure if it will send these details over the internet, or if it will only send them in a LAN)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文