Windows 身份验证凭据框在 IE8 和 IIS7 中多次询问

发布于 2025-01-08 03:48:46 字数 961 浏览 0 评论 0原文

我们有几个在 Windows 2008 Server 上托管的 Intranet 网站,它们都使用 Windows 身份验证模式。例如,

  1. SiteA、
  2. SiteB、
  3. SiteC、
  4. SiteD(不工作)
  5. 、SiteE(不工作)

其中,不做任何特殊修改,在 IE8 中,SiteA、B、C 可以工作,Site D、E 不能工作。我仔细检查了设置,确信我设置了所有相同的设置。但是当我使用Firefox测试时,所有网站都可以工作。

在 IE8 中,对于 SiteA、B 和 C,我什至不需要输入我的凭据,它会使用我的 AD 帐户自动登录。但对于站点 D 和 E,它要求输入用户名和密码 3 次,之后,即使我提供了正确的用户名和密码,我仍收到以下错误消息。

401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.

我附上了那些有错误的网站的身份验证和授权设置。 在此输入图像描述

高级设置如下:

在此处输入图像描述 在此处输入图像描述

如何配置这些错误站点以像站点 A、B 和 C 一样工作?我错过了什么?

由于公司政策,我们在 IE8 中没有“安全”选项卡,并且我们不会调整任何内容以使 SiteA、B 和 C 正常工作。

谢谢大家。

We have couples of intranet websites hosted on the Windows 2008 Server and all of them are using the Windows Authentication mode. For Example,

  1. SiteA
  2. SiteB
  3. SiteC
  4. SiteD (Not working)
  5. SiteE (Not working)

Among them, without any special modification, SiteA, B and C are working while Site D and E are not working in IE8. I double checked the settings and I am sure that I set all the same setting. But when I use Firefox to test, all sites are working.

In IE8, for SiteA, B and C, I don't even need to type my credential and it logs in automatically by using my AD account. But for Site D and E, it asks the username and password for 3 times and after that, I got the following error message even though I provided the correct one.

401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.

I attached my Authentication and Authroization setting for those sites which have errors.
enter image description here

The advanced settings is as follow:

enter image description here
enter image description here

How can I configure these erroneous sites to work like SiteA, B and C? What did I miss?

We don't have Security Tab in IE8 coz of the company policy and we don't tweak anything for SiteA, B and C to work correctly.

Thanks everyone.

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

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

发布评论

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

评论(2

指尖上得阳光 2025-01-15 03:48:46

此过程为我解决了这个问题...

  1. 打开 IIS 管理器
  2. 浏览并单击有问题的站点
  3. 双击身份验证图标
  4. 右键单击​​“Windows 身份验证”,然后单击“提供程序”
  5. 将“NTLM”移动到列表顶部。

This procedure fixed it for me...

  1. Open IIS Manager
  2. Browse to and click the site in question
  3. Double click the Authentication icon
  4. Right click on "Windows Authentication" and click "Providers"
  5. Move "NTLM" to the top of the list.
寒冷纷飞旳雪 2025-01-15 03:48:46

没错,NTLM 必须处于提供商的顶端。我还想指出的是,必须像您在此处所做的那样关闭高级设置中的扩展保护。这还解决了从 Chrome 或 Firefox 连接时发生的身份验证问题。

Thats correct, NTLM has to be at the top of the providers. I also wanted to note that, Extended Protection in the Advanced Settings has to be turned OFF as you have done up there. This also fixes the authentication problems that happen if you connect from chrome or firefox.

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