December 17th, 2008
If you want to prevent a file from being downloaded by your visitors or maybe just by a small group of users, you can achieve this by creating a .htaccess file. This file can be placed at the root of your website or in the same folder as the files you want to protect.
For instance, you may want to prevent visitors from downloading a PHP script containing a password. Restrictions can be specified by user or IP address.
Head over to Hackosis.com to read this nice tutorial on using .htaccess to restrict file access.
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment