Windows 身份验证在 ie7 中不起作用

编程入门 行业动态 更新时间:2024-10-26 06:38:49
本文介绍了Windows 身份验证在 ie7 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

真的需要这方面的帮助,尝试了很多方法却没有任何想法.

Really need help with this and tried lots of things and run out of ideas.

我有一个网站托管在内部开发服务器上,可供内部员工访问.

I have a site hosted on an internal development server, accessible for staff internally.

服务器设置是windows 2008 R2,iis 7.5 sql 2008 express.我使用活动目录进行身份验证.

the server setup is windows 2008 R2, iis 7.5 sql 2008 express. Im authenticating using active directory.

在 Chrome 中,网站会加载,并自动登录以识别我的名字.

in Chrome the site loads, and automatically logs me in recognising my name.

在 IE7 中查看站点时,响应是:"401 - 未经授权:由于凭据无效,访问被拒绝.您无权使用您提供的凭据查看此目录或页面."

When viewing the site in IE7 the response is: "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."

我尝试了以下方法:

  • 在 iis 中仅将 Windows 身份验证设置为启用(其余禁用)
  • 将 NTLM 移至提供商列表的顶部
  • 将 Web 目录的完全控制权授予 Everyone/IUSR/Network Service/DeafultAppPool ...列表继续.
  • 选中 ie 设置(选中启用集成 Windows 身份验证)
  • IE7 中的用户身份验证设置为仅在 Intranet 区域自动登录".
  • 在 web.config 中设置以下内容:

    当我在 IE7 中访问 Intranet 时,我确信它不是浏览器设置,因为我已经针对 AD 进行了身份验证.

    im convinced its not a browser setting as im authenticated against AD when i access the intranet in IE7.

    怎么了?我该如何解决?

    what is wrong? how can i fix it?

    非常感谢

    推荐答案

    来自 technet 文章,technet.microsoft/en-us/library/cc754628(v=ws.10).aspx :

    From the technet article, technet.microsoft/en-us/library/cc754628(v=ws.10).aspx :

    Windows 身份验证的默认设置是协商.这设置意味着客户端可以选择合适的安全性支持提供者.要强制 NTLM 身份验证,您必须更改下元素的值ApplicationHost.config 文件中的元素.

    The default setting for Windows authentication is Negotiate. This setting means that the client can select the appropriate security support provider. To force NTLM authentication, you must change the value of the element under the element in the ApplicationHost.config file.

    IE 使用 Kerberos,而不像 Chrome 和 Firefox 那样依赖 NTLM.您必须按照以下步骤在 IIS7.5 中强制使用 NTLM 身份验证:

    IE is using Kerberos and not falling back on NTLM like Chrome and Firefox. You must force NTLM authentication in IIS7.5 by following these steps:

  • 选择您的网站.
  • 双击身份验证.
  • 选择Windows 身份验证"(确保已启用).
  • 点击右侧栏中的提供商...".
  • 选择 NTLM,然后点击上移".

更多推荐

Windows 身份验证在 ie7 中不起作用

本文发布于:2023-11-05 04:43:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1559935.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中不   身份验证   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!