My Top Tip.
Ever noticed how some directories are visibly on your site, well this helps hackers see where your files am and what your file names are, such as db.php / connect.php
this allows him to know what file he is trying to attack!
now the one method that is used to HIDE these files is by placing a blank html file in each directory to counter this
BUT I HAVE BETTER WAY
in your htaccess file add this line
This sets the Option of Indexes off so indexes are not shown and the browser will get a 403 forbidden!
no what else you want to do is create an html file called 403 and place it on your server some where and then add this line to your htaccess file
Witch will show them your html file recursively throughout your site
Hope you likey
Ever noticed how some directories are visibly on your site, well this helps hackers see where your files am and what your file names are, such as db.php / connect.php
this allows him to know what file he is trying to attack!
now the one method that is used to HIDE these files is by placing a blank html file in each directory to counter this
BUT I HAVE BETTER WAY
in your htaccess file add this line
Code:
Options -Indexes
This sets the Option of Indexes off so indexes are not shown and the browser will get a 403 forbidden!
no what else you want to do is create an html file called 403 and place it on your server some where and then add this line to your htaccess file
Code:
ErrorDocument 403 403.html
Witch will show them your html file recursively throughout your site
Hope you likey