AuthType Basic AuthName "Please Log In" AuthUserFile /some/path/.htpasswd Require valid-user
htpasswd -c /some/path/.htpasswd newuser
Order deny,allow Deny from all Allow from 192.168.1.1
AuthType Basic AuthName "Please Log In" AuthUserFile /some/path/.htpasswd Require valid-user Order deny,allow Deny from all Allow from 192.168.1.1 Satisfy any
AuthType Basic AuthName "Please Log In" AuthUserFile /some/path/.htpasswd Require valid-user Order deny,allow Deny from all Allow from 192.168.1.1 Satisfy all