【问题标题】:windows authenticated website prompt for firefox but doesn't for internet explorerWindows 身份验证的网站提示用于 Firefox,但不适用于 Internet Explorer
【发布时间】:2010-01-25 20:55:46
【问题描述】:

我在我的网站上添加了 Windows 身份验证来跟踪用户名。对于 IE,它可以正常工作并且看起来很流畅,但它会提示使用 Firefox 的用户登录 Windows。有什么想法吗?

【问题讨论】:

    标签: asp.net-mvc firefox windows-authentication


    【解决方案1】:

    您需要在 Firefox 中启用 NTLM 身份验证。 Instructions here.

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

    【讨论】:

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

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

      【讨论】:

        【解决方案3】:

        您必须将主机名 (URL) 添加到 Firefox 的 about:config 内的 network.automatic-ntlm-auth.trusted-uris 设置中。

        【讨论】:

          【解决方案4】:

          Internet Explorer 配置:

          1. 工具 -> Internet 选项 -> 高级选项卡并选中“启用集成 Windows 身份验证”复选框。

          2. 接下来,切换到安全选项卡并单击本地 Intranet -> 自定义级别并选择“使用当前用户名和密码自动登录”(在用户身份验证、登录下)。

          3. 在所有窗口上单击“确定”并重新启动 Internet Explorer(关闭所有 IE 窗口并再次打开)。

          Firefox 配置:

          about:config 和“network.negotiate-auth.trusted-uris”和“.example.com”

          【讨论】:

            【解决方案5】:

            Windows 身份验证不适用于开箱即用的 Firefox。你需要做一些additional steps。我不确定它是如何发生的,但是您的域凭据以某种方式使用 IE 提供给了 Web 服务器。

            【讨论】:

              猜你喜欢
              • 1970-01-01
              • 2014-08-16
              • 2021-03-18
              • 2011-01-04
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              相关资源
              最近更新 更多