Limit access of website to Local Area Network only using .htaccess

by sabitha 2012-06-07 18:21:16

Limit access of website to Local Area Network only using .htaccess


# limit access to local area network only
<limit get="" post="" put="">
order deny,allow
deny from all
allow from 192.168.0.0/111
# This will limit the access only from 192.168.0.0 to 192.168.0.111
</limit>


You can specify the IP range for which you want to allow the access.
1134
like
0
dislike
0
mail
flag

You must LOGIN to add comments