Skip Navigation
 Search | Directories | Reference Tools
UW Home > UWIN > Computing and Networking > Security 

Secure your Web server

Imagine bringing your organization's home page up on your browser and finding that it has been modified with offensive words and graphics. The unauthorized alteration of a Web site is called a "defacement" and is usually done to make some political or personal statement. In most cases, someone remotely gained Administrator privileges on the Web server, allowing them to modify, copy, or delete any file on the server.

In 2000, Rik Farrow wrote an article "How to secure your Web server" in which he cited statistics from two primary Web page defacement mirrors ( www.attrition.org and www.alldas.org [no longer operational]) that show that thousands of Web page defacements occur every year. He found that Windows IIS servers were six times as likely to suffer a Web page defacement as server running Apache (Windows or Unix), even though (at the time) there were three times as many Apache servers as Windows IIS servers! The Alldas site today shows that 57% of all Web page defacements occur on servers running the Windows operating system.

Statistics on the UW network are similar. Web page defacements and compromises resulting from the "sadmind-IIS worm", Power bot, Code Red, Code Red II, and Nimda worms, occurred on hundreds of campus Windows IIS Web servers. During the same time period, only a handful of Unix Apache Web servers were compromised. Does this mean that Windows is less secure than Unix? Does it mean that Microsoft IIS is less secure than Apache? Does it even mean that Unix administrators are more skilled than Windows administrators? The answer to all three questions is a resounding "NO!" Windows/IIS can be just as secure as Unix/Apache.

Common causes of Web page defacements on campus

So what do the statistics and UW experience mean? We often see the following in security incidents on campus:

So you see, it is not really the choice of operating system or server that caused most of these problems, nor did the choice always prevent problems. It was more mundane things, like mis-configuration of services, inadequate patching, loading too many services on a single system (or too many systems on a single administrator), or the owner of the system simply not being ready, willing, or able to properly secure the server.

Tips for securing your Web servers

For these reasons, we suggest the following to most effectively secure your Web servers:

Other resources