Protecting index files from hacking

by Guna 2014-06-02 10:53:07

One of our server admin advised me to have default index pages in different name other  than index.php,index.html etc..

Because  hackers will try and update contents of index.php,index.html files as they are the default ones.

Example:

Add this code in  .htaccess  file
 
DirectoryIndex main.php

This will set main.php as default page for your domain.

 
50
like
0
dislike
0
mail
flag

You must LOGIN to add comments
Dinesh

thanks for the useful info..