Safe to delete all the index.html if index.php located to a public_html inside the application ?


(Sorry if this is a stupid question) I was just wondering to be sure.. if it was safe to delete all the index.html if index.php is relocated to a public_html directory inside the application ?


If a folder is in public_html or above, you need to have an index file (index.html, index.php etc) to prevent someone from seeing the contents of the folder. It's only safe to remove index.html files if you have another index file in there, or it's not in a publicly viewable web space.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.