Trick To Allow Specific IP To View A Web Page
August 17 | Posted by Ankit | OtherOkay, 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!


