We swept the site yesterday with 360 security checks, appear file directory listing vulnerability hint and the same as host site security side note risk warning, this test 301 pages, take 3:15 29 seconds, this time is also very long, I remember the scan, show scan results 30 minutes later can see, alas, The gap is far away!
Today, we found a solution to the problem of the file directory list showing the vulnerability, and now provide the method, hoping to help other friends with the same problem!
Method One: Modify the. htaccess file
Locate the. htaccess file in the root directory of the space Web site, add this code to the end of the. htaccess file, and take the line independently.
Options all-indexes
Save the exit, if you are using FTP, modify the save and upload again.
PS: This method is convenient and quick, this is what I use!
Method Two: Cpanel Admin Interface "Index Manager" Modify
Log on to cpanel, and then pull to the "advanced"-"Index manager" below
Please click the folder name to select the folder you want to protect.
Detailed reference: Prohibit the website to display the file directory list 2 methods this article
About the same as the host site security side note risk warning, basically no solution, the total can not be replaced by the host it, it is to ask for many blessings, standing site data!