Deny All Access Except Yours - .htaccess

## Apache 2.2 Order deny,allow Deny from all Allow from ## Apache 2.4 # Require all denied # Require ip

1 Response is your IP. If you replace the last three digits with 0/12 for example, this will specify a range of IPs within the same network, thus saving you the trouble to list all allowed IPs separately.

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.