asp.net-mvc - 如何在没有提示的情况下为 Google Chrome 启用自动登录

标签 asp.net-mvc windows google-chrome internet-explorer ntlm

我们需要访问名为“http://mysite/myapp”的内部网站。

并且通过使用 IE,每个域用户都可以在没有任何提示的情况下访问该站点。

但是,如果用户尝试使用 Chrome,首先会显示登录提示。仅输入一次凭据后,不再出现访问提示。

我只是想知道有什么方法可以避免在 Chrome 上出现首次登录提示。

而且我们不希望任何 chrome 浏览器设置或每个用户的白名单快捷方式。因为我们无法一一处理许多用户的 Chrome。

我们将不胜感激。

谢谢。

最佳答案

检查此 Chromium 文档中集成身份验证的详细信息:

http://www.chromium.org/developers/design-documents/http-authentication

With Integrated Authentication, Chrome can authenticate the user to an Intranet server or proxy without prompting the user for a username or password. It does this by using cached credentials which are established when the user initially logs in to the machine that the Chrome browser is running on. Integrated Authentication is supported for Negotiate and NTLM challenges only.

基本上,使用这些开关执行 Chrome 以指定身份验证方案:

Chrome.exe --auth-server-whitelist="MYIISSERVER.DOMAIN.COM" --auth-negotiate-delegatewhitelist="MYIISSERVER.DOMAIN.COM" --auth-schemes="digest,ntlm,negotiate"

关于asp.net-mvc - 如何在没有提示的情况下为 Google Chrome 启用自动登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29025567/

相关文章:

c# - ASP.NET MVC Razor : Add empty value to a DropDownList

c++ - 用 C 编写的文件创建程序的 Windows 缓存使用量增加

google-chrome - css3边框半径不适用于子元素

html - ASP MVC 多个 HTML 开始表单和多个 Controller ?可能的

asp.net-mvc - 在客户端清除outputcache

windows - 批处理脚本中的问题读取用户输入

javascript - Chrome 调试器未在 aspx 文件中显示 Javascript

google-chrome - 无法在非安全模式下启动 chrome?

c# - 动态添加字段到 Razor 表单

windows - 如何将 Windows 批处理 for 循环的最终结果通过管道传输到另一个命令中