Windows认证的网站提示为Firefox,但不适用于Internet Explorer

leo*_*ora 11 asp.net-mvc firefox windows-authentication

我在我的网站上添加了Windows身份验证来跟踪用户名.对于IE它工作正常,似乎没有,但它提示用户使用Firefox登录Windows.有任何想法吗?

cee*_*yoz 29

您需要在Firefox中启用NTLM身份验证.这里的说明.

  1. 打开Firefox并在地址栏中输入"about:config".(当然没有引号)
  2. 在"过滤器"字段中,键入以下"network.automatic-ntlm-auth.trusted-uris"
  3. 双击我们刚搜索的首选项的名称
  4. 输入您希望以下列形式传递NTLM身份验证信息的网站的网址: http://intranet.company.com,http://email.company.lan
  5. 请注意,您可以在此字段中使用逗号分隔列表.


小智 7

  • 打开火狐浏览器
  • 在地址栏中输入about:config
  • 在搜索/过滤字段中输入ntlm
  • network.automatic-ntlm-auth.trusted-uris设置为.company_name.com
  • 通过右键单击并选择“切换”将network.automatic-ntlm-auth.allow-non-fqdn设置为true
  • 在搜索/过滤字段中输入协商
  • network.negotiate-auth.trusted-uris设置为.company_name.com
  • 通过右键单击并选择“切换”将network.negotiate-auth.allow-non-fqdn设置为true
  • 如果存在,请单击“确定”
  • 重新启动火狐浏览器。

来自http://perfect-blog-url.blogspot.com/2013/07/firefox-asks-for-user-name-and-password.html