Resolution 360 detection of the file directory list Display Vulnerability Method _ server Other

Source: Internet
Author: User
Tags cpanel

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.