htaccess和htpasswd-在检查历史记录时检查保护站点在Firefox中不起作用

时间:2018-10-06 09:17:12

标签: mysql .htaccess server .htpasswd

我有一个现场开发站点,我想用Htaccess和htpasswd保护。似乎工作正常...但是在firefox中,选中“记住浏览和下载历史记录”和“记住搜索和表单历史记录”,并且我已经进入该网站时...下次访问该网站时,我已经可以看到网站,然后要求我输入凭据。仍如何预防呢?这是我的设置:

.htaccess

## Password protected access
AuthType Basic
AuthName "Please enter Username and Password to access this Document"
AuthUserFile /is/www/project/.htpasswd
require valid-user

.htpasswd

test:somepassword

这工作正常...但是当我有例如:

Mozilla Firefox浏览器

-> Privacy & Security

-> History
Firefox will 'Use custom settings for history'

Unckecked - Always use private browsing mode
    Checked - Remember browsing and download history
    Checked - Remember search and form history
    Unchecked - Clear history when Firefox closes

如果我再次访问该站点并且先前输入的凭据正确无误...关闭浏览器并重新进入该站点...我已经可以看到该站点。

0 个答案:

没有答案