Apache htaccess for ip or auth based access

Options -Indexes

AuthName "Authorisation required"
AuthUserFile /home/user/.users
AuthGroupFile /dev/null
AuthType Basic
require valid-user

Order deny,allow
Deny from all

Allow from x.y.z.w
Allow from .......

Satisfy Any

~~LINKBACK~~ ~~DISCUSSION~~