加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

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

发布时间:2020-12-16 07:13:06 所属栏目:asp.Net 来源:网络整理
导读:我们需要访问名为“ http://mysite/myapp”的Intranet站点. 使用IE浏览器,每个域用户都可以在没有任何提示的情况下访问该站点. 但是,如果用户使用Chrome进行尝试,则会首先显示登录提示.在输入凭证一次后,该提示不再出现在访问中. 我只是想知道如何避免Chrome
我们需要访问名为“ http://mysite/myapp”的Intranet站点.

使用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"

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读