3 Steps to resolve IIS Web site security to prevent Web sites from being hacked

Source: Internet
Author: User
Tags iis sql injection

Web site by black generally refers to the site is injected Trojan or black chain, inject a variety of methods, there are SQL injection, there are Web site permissions injected and so on. The author takes IIS as an example to explain how to prevent the Web site from being hacked by some measures.

1, open the IIS Information Services Manager, under the "Web site" option to set the Site Directory--Properties, the site directory data and upload set to not write, execute permissions set to None (see Figure 2).

2, the IIS Web site in the home directory of "script resource Access", "Write", "directory Browsing" and record access options such as the selection of removal, right-click the site Directory---properties into the interface, as shown in the following figure:

Figure 1

3. Set the "Execute permission" of all directory files on the website to pure script (except data and upload files), as shown in the following figure:

Figure 2

4, through the above simple settings that complete the site permissions of the security settings, we can through the http://webscan.360.cn to detect the following:

Safety test Results

Note: This applies to Discuz, Phpwind, Dedecms, and most other open source programs as long as you are using a Web site created by IIS.

This article original from http://www.45fan.com/a/luyou/590.html, reprint should indicate the source!

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.