Trick To Allow Specific IP To View A Web Page

August 17th, 2008 | by Ankit |

Okay, This is quite simple for those who have knowledge about .htaccess

Using this simple htaccess code you can simply restrict webpage to a specific IP, Its simply a 3 line code so enjoy.

Simply place below code into you .htaccess file and replace 65.19.156.26 with the IP u wan’t to allow to view the webpage.:
order deny,allow
allow from 65.19.156.26
deny from all

Let me know if u ding any problem in this code ;)

If you enjoyed this post, make sure you subscribe to my RSS feed!

If you like this post then please consider subscribing to my Full RSS Feed. You can also Subscribe By Email and have new posts sent directly to your inbox., You can now Subscribe My Feeds via SMS For Free, using Google's SMS Channel.


Also Read


Post a Comment