经过 Windows 身份验证的网站提示使用 Firefox,但不提示使用 Internet Explorer
我在我的网站上添加了 Windows 身份验证来跟踪用户名。对于 IE,它工作正常并且看起来很简单,但它会提示使用 Firefox 的用户登录 Windows。有什么想法吗?
i added windows authentication on my website to track user names. For IE it works fine and is seemsless but it prompts for windows login for user using firefox. any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您需要在 Firefox 中启用 NTLM 身份验证。 此处说明。
http://intranet.company.com,http://email.company.lan
You'll need to enable NTLM authentication in Firefox. Instructions here.
http://intranet.company.com,http://email.company.lan
.company_name.com
true
通过右键单击并选择“切换”
.company_name.com
true
并选择“切换”
来自 http:// /perfect-blog-url.blogspot.com/2013/07/firefox-asks-for-user-name-and-password.html
.company_name.com
true
byright-clicking and selecting "toggle"
.company_name.com
true
by right-clickingand selecting "toggle"
From 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 设置。
You have to add the hostname (URL) to the network.automatic-ntlm-auth.trusted-uris setting within about:config in Firefox.
Internet Explorer 配置:
工具 ->互联网选项 ->高级选项卡并选中“启用集成 Windows 身份验证”复选框。
接下来,切换到安全选项卡,然后单击本地 Intranet ->自定义级别并选择“使用当前用户名和密码自动登录”(在“用户身份验证”、“登录”下)。
在所有窗口上单击“确定”并重新启动 Internet Explorer(关闭所有 IE 窗口并再次打开)。
Firefox 配置:
about:config 和“network.negotiate-auth.trusted-uris”和“.example.com”
Internet Explorer configuration:
Tools -> Internet Options -> Advanced tab and check the “Enable Integrated Windows Authentication” check-box.
Next, switch to the security tab and click Local Intranet -> Custom Level and select “Automatic log-on with current user name and password” (under User Authentication, Log-on).
Click OK on all windows and restart Internet Explorer (close all IE windows and open it again).
Firefox configuration:
about:config and "network.negotiate-auth.trusted-uris" and ".example.com"
Windows 身份验证不适用于开箱即用的 Firefox。您需要做一些 其他步骤。我不确定它是如何发生的,但您的域凭据以某种方式使用 IE 提供给 Web 服务器。
Windows authentication does not work for Firefox out of the box. You will need to do some additional steps. I'm not sure of the particulars as to how it happens, but your domain credentials are somehow given to the web server using IE.