使用Basic Authentication登录的站点会被浏览器自动保存登录信息。
Firefox和Chrome最新版本都在“历史记录”中保留了这些信息。
firefox: about:preferences#privacy 在“历史记录”的“登录状态”中保存,不在“Cookie 和网站数据”中
chrome: chrome://settings/clearBrowserData
这些信息有点古老,现在不太好使了
How to clear basic authentication details in chrome
chrome中可以使用“无痕浏览”功能进行测试。“无痕浏览”不会保存open an incognito window Ctrl+Shift+n each time you are doing a test.
Firefox not deleting HTTP Basic authentication credentials although being instructed to do so 这里提到了可以在“history”中清除认证信息













网友评论