How to protect important files by other visitors

Certainly not pleasing our important files can be viewed by visitors.
Especially important database files in the form of password or secret documents.



I have a way to protect important files from being accessed other visitors.
place this Source Code in the file .htaccess

<Files secret.php>
order deny,allow
deny from all
#Replace with your IP Address
allow from 127.0.0.1
</Files>

Note: secret.php replace with your name file. 127.0.0.1 Replace with your ip address.

Good luck ^_^

Please subscribe, leave a comment, follow this blog and share this article with your friends and colleagues.
by: http://kedirizone.blogspot.com

Share This On :


Related Post :

0 comments:

Post a Comment

 

Copyright © 2011 Kediri Zone | Design by Ibllezboy

▲ TOP