【发布时间】:2010-01-25 20:55:46
【问题描述】:
我在我的网站上添加了 Windows 身份验证来跟踪用户名。对于 IE,它可以正常工作并且看起来很流畅,但它会提示使用 Firefox 的用户登录 Windows。有什么想法吗?
【问题讨论】:
标签: asp.net-mvc firefox windows-authentication
我在我的网站上添加了 Windows 身份验证来跟踪用户名。对于 IE,它可以正常工作并且看起来很流畅,但它会提示使用 Firefox 的用户登录 Windows。有什么想法吗?
【问题讨论】:
标签: asp.net-mvc firefox windows-authentication
您需要在 Firefox 中启用 NTLM 身份验证。 Instructions here.
http://intranet.company.com,http://email.company.lan
【讨论】:
.company_name.com
true by
右键单击并选择“切换”.company_name.com
true
并选择“切换”来自http://perfect-blog-url.blogspot.com/2013/07/firefox-asks-for-user-name-and-password.html
【讨论】:
您必须将主机名 (URL) 添加到 Firefox 的 about:config 内的 network.automatic-ntlm-auth.trusted-uris 设置中。
【讨论】:
Internet Explorer 配置:
工具 -> Internet 选项 -> 高级选项卡并选中“启用集成 Windows 身份验证”复选框。
接下来,切换到安全选项卡并单击本地 Intranet -> 自定义级别并选择“使用当前用户名和密码自动登录”(在用户身份验证、登录下)。
在所有窗口上单击“确定”并重新启动 Internet Explorer(关闭所有 IE 窗口并再次打开)。
Firefox 配置:
about:config 和“network.negotiate-auth.trusted-uris”和“.example.com”
【讨论】:
Windows 身份验证不适用于开箱即用的 Firefox。你需要做一些additional steps。我不确定它是如何发生的,但是您的域凭据以某种方式使用 IE 提供给了 Web 服务器。
【讨论】: