【问题标题】:Windows Authentication is not working in ChromeWindows 身份验证在 Chrome 中不起作用
【发布时间】:2016-05-11 12:14:50
【问题描述】:

在我的 MVC5 应用程序中,Windows 身份验证不起作用。 当应用程序在 IE 中打开时,每次访问应用程序时都会提示输入凭据(在清除临时数据、缓存、cookie 之后)。

在 IIS 中,完成以下配置,

  1. 已启用 Windows 身份验证
  2. 匿名身份验证已禁用
  3. 在身份验证下 -> Windows 身份验证 -> 单独启用 NTLM。

在 Web.config 中

<location path="Home">
<system.web>
  <authorization>
    <deny users="*" />
    <allow users="?" />
  </authorization>
</system.web>

<authentication mode="Windows">
</authentication>

现在实际的问题是,Chrome 在访问应用程序时根本不要求提供凭据

【问题讨论】:

标签: google-chrome authentication asp.net-mvc-5 windows-authentication ntlm


【解决方案1】:

经过分析,我发现有一些chrome.exe在后台运行。杀死任务后Windows Authentication 工作在Chrome

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-18
    • 2011-11-12
    • 1970-01-01
    • 1970-01-01
    • 2017-09-24
    • 2023-04-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多