Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


July 08, 2009

Q: Do I still need to install the URLscan tool on my Microsoft IIS 7.0 Web server to filter malicious data from incoming HTTP requests?

RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A: No, in IIS 7.0 there is no need to install the URLscan tool. IIS 7.0 includes URLscan functionality out of the box. This service that is equivalent to the URLscan tool in IIS 7.0 and 6.0 is referred to as Request Filtering.

URLscan checks the URLs of all incoming web server requests. Attacks against web servers often consist of sending a URL to the server that contains a string that could be interpreted by the web server as an instruction to execute a malicious command. If a URL contains suspicious character combinations, strings, or verbs, or if it exceeds a certain length, URLscan automatically blocks the associated web request.

Although IIS 6.0 already provided built-in URLscan-like functionality, many administrators still added the URLscan tool to their IIS 6.0 web servers because URLscan supported additional features, such as the ability to remove server identity headers and support for a single unified text-based configuration file (urlscan.ini). IIS 7.0 includes these URLscan features out of the box, so it's no longer necessary to install URLscan.

IIS 7.0 Request Filtering supports the filtering of hidden namespaces, Request Filtering-specific error and status codes, and the definition of website- and URL-specific Request Filtering settings. Hidden namespaces define critical web server content that can't be requested in a URL, even if the content is present on the server. For example, IIS 7 defines the the Web.config configuration file and the \App_Data and \Bin folders as hidden namespaces by default. Request Filtering-specific error and status codes allow web administrators to quickly identify why IIS's Request Filtering logic rejects certain web requests. Finally, in IIS 7.0 administrators can define a different Request Filtering behavior for each individual URL and web site. In IIS 6.0, the settings defined for URLscan are applied to all incoming web server requests, independent of the target URL or site.

The following table compares URLscan and Request Filtering functionality and shows the Request Filtering-specific error and status codes IIS 7.0 logs when it rejects a request based on a Request Filtering rule.

Click to expand.

Unlike the other IIS 7.0 security features, you can't configure Request Filtering from the IIS Manager interface, you must configure it from the IIS 7.0 configuration files. To set Request Filtering rules for all websites hosted on your IIS 7.0 server, use the ApplicationHost.config file. To set website-specific Request Filtering rules, use the web.config file. The Microsoft article How to Use Request Filtering gives more details for configuring Request Filtering.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events Introduction to Identity Lifecycle Manager "2"

SQL Server Security: How to Secure, Monitor & Audit Your Databases

Protecting Mobile Users' Data

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement