Hide secret files with .htaccess
Have a file that needs to be hidden from the internet on your web server or hosting account? Maybe you want to be able to download it and also give access to your friends. By using the directive in your .htaccess file, you can restrict extension names or certain files by IP addresses, or if it is a config file with passwords inside, restrict it from being viewed by anyone at all. This works with Apache 1.2 and above.
Views: 960 | | by Marry
View this tutorial