This post is about to explain the use of .htaccess for protecting any file on your server.
Earlier I have explained the use of htaccess file to protect the .htaccess file.
Here is the code which shows the trick to protect the file using .htaccess file.
So above code will enable access from 18.104.22.168 and 22.214.171.124 only.
Avinash Zala is leading various projects which deals with the various technology involved with the web. A combination of perfect technical and management skills. Avinash would like to chat with you and convert your imagination into the working system. You can get in touch with him on Facebook and Twitter.
View all posts by: Avinash