Ah, thanks ! Good idea !
I'm already using that in Apache directories, like this :
<Directory "..../...../....">
Options MultiViews
AllowOverride None
Order deny,allow
Deny from all
Allow from 192.168.1
</Directory>
found an .htaccess example that should work :
Allow from IP without password prompt, and also allow from any address with password prompt
Order deny,allow
Deny from all
AuthName "htaccess password prompt"
AuthUserFile /web/passwd/.htpasswd
AuthType Basic
Require valid-user
Allow from 192.168.1
Satisfy Any
|