Use the following 10 steps to protect IIS:
1. For IIS applicationsProgramAnd data to install an NTFS device. If possible, do not allow iuser (or any other anonymous user name) to access any other device. If the application fails because the anonymous user cannot access the program on other devices, use the Filemon of sysinternals to check which file cannot be accessed, and transfer the program to the IIS device. If you cannot do this, iuser is allowed to access this file only.
2. Set NTFS permissions on the device:
Developers = Full (all permissions)
Iuser = read and execute only (read and execute permissions)
System and Admin = Full (all permissions)
3. Use a software firewall to confirm that no end user can access ports other than port 80 on the IIS computer.
4. Use Microsoft tools to lock your computer: IIS Lockdown and URLScan.
5. Enable IIS Event Logs. In addition to IIS Event Logs, if possible, enable event logs for the firewall.
6. Remove log files from the default storage location and ensure that they are backed up. Create a duplicate copy for the log file to ensure that the copy at the second position is available.
7. Enable Windows Audit on the computer, because when we try to track the actions of those attackers, we always lack enough data. By using audit logs, you may even have a script to review suspicious behaviors. This script then sends a report to the Administrator. This may sound a bit extreme, but it is the best choice if security is critical to your organization. Establish an audit system to report any failed account logon behavior. In addition, the default storage location (C:/winnt/system32/config/secevent. log) to another place, and make sure it has a backup and a duplicate copy.
8. In general, do your best to find the securityArticle(From different places) and follow them for practice. In terms of IIS and security practices, they are generally better understood by you, and do not trust what others (such as me) tell you.
9. subscribe to an IIS defect list email and read it on time. One list is the X-force alerts and advisories of Internet Security Systems.
10. Finally, make sure that you update Windows on a regular basis and check whether the patch is successfully installed.