How to secure IIS in Windows Server 2012

IIS (Internet Information Services) always faces the Internet. Therefore, it is important to follow some rules to minimize the risk of hacking or any other security issues.

IIS (Internet Information Services) always faces the Internet. Therefore, it is important to follow some rules to minimize the risk of hacking or any other security issues.

  1. The first rule is to update the system regularly
  2. The second principle is to create Application Pool (containing one or more applications and allow configuration of many levels between different web applications). This can be done by following the steps shown below.

Step 1: You must access Server Manager> Internet Information Services (IIS) Manager> Application Pools .

Picture 1 of How to secure IIS in Windows Server 2012
Go to Server Manager> Internet Information Services (IIS) Manager> Application Pools

Step 2: Click Sites , right-click Default Website , select Manage Website> Advanced Settings .

Picture 2 of How to secure IIS in Windows Server 2012
Select Manage Website> Advanced Settings

Step 3: Select Default Pools.

Step 4: Disable the OPTIONS method, this can be done by following the path Server Manager> Internet Information Services (IIS) Manager> Request Filtering .

Picture 3 of How to secure IIS in Windows Server 2012
Go to Server Manager> Internet Information Services (IIS) Manager> Request Filtering

Step 5: In the Actions panel , select Deny Verb , enter OPTIONS into Verb , then click OK.

Step 6 : Enable Dynamic IP Restrictions blocks by going to IIS Manager , double-clicking on IP Address and Domain Restrictions , then selecting the Actions panel .

Picture 4 of How to secure IIS in Windows Server 2012
Double click on IP Address and Domain Restrictions

Step 7: Then select Edit Dynamic Restriction Settings , modify and set dynamic IP restriction settings as needed, then click OK.

Step 8: Activate and configure the Request Filtering rules. To do this, go to IIS Manager , double-click Request Filtering, switch to the Rules tab , then the Actions panel .

Picture 5 of How to secure IIS in Windows Server 2012
Activate and configure the Request Filtering rules

Step 9: Then select Add Filtering Rule , set the required rule, then click OK.

Picture 6 of How to secure IIS in Windows Server 2012
Select Add Filtering Rule

Step 10 : Allow logging. To do this, go to IIS Manager , select the specific site you want to configure, and then select Logging.

Picture 7 of How to secure IIS in Windows Server 2012
Allow logging
Update 24 June 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile