【问题标题】:Log Authorization (Basic, Digest..) for a site from a Chrome Extension来自 Chrome 扩展程序的站点的日志授权(基本、摘要..)
【发布时间】:2016-12-05 08:43:46
【问题描述】:

我正在开发 Chrome 的扩展程序,它将在浏览器上记录一些用户活动,以便之后处理该信息,当被跟踪的用户在该网站的浏览器基本身份验证对话框。

这是我需要的数据:

Authorization url
A partial or complete URL that matches one or more HTTP Request URLs
Ex: www.urlbase.com

Authorization username
The username to authorize.
Ex: admin

Authorization password
The password for the user
Ex: 123456

Authorization domain
The domain to use for NTLM.

Authorization realm
The realm to use for NTLM.

我遇到过:

https://developer.chrome.com/apps/app_identity
https://developer.chrome.com/extensions/privacy
https://developer.chrome.com/extensions/certificateProvider
https://developer.chrome.com/extensions

但他们似乎都没有谈论 http auth。

真的有任何方法可以从 chrome 扩展 API 或 Javascript 获取该信息吗?

【问题讨论】:

    标签: javascript google-chrome google-chrome-extension


    【解决方案1】:

    我认为不允许获取私人凭据。

    正如Tutorial: OAuth中提到的,

    OAuth 为用户提供了一种机制,可以在不共享其私人凭据(用户名/密码)的情况下授予对私人数据的访问权限。

    您可能还想查看Developer Program Policies,特别是User Data Privacy,了解您的问题。

    希望有帮助!

    【讨论】:

      猜你喜欢
      • 2013-01-29
      • 2015-08-20
      • 1970-01-01
      • 2016-06-04
      • 1970-01-01
      • 2021-07-09
      • 2018-04-30
      • 2018-01-24
      • 2018-09-24
      相关资源
      最近更新 更多