Welcome to MSDN Blogs Sign in | Join | Help

URLScan – rejecting the request depending on the User-Agent string

I just learned this now :-) You can now use the URLScan 3.1 with your own custom rules, and it would come handy in situations like rejecting a request based on the User-Agent string.

Below is a sample rule for the same:

[Options]

RuleList=DenyUserAgent

 

[DenyUserAgent]

DenyDataSection=Agent Strings

ScanHeaders=User-Agent

 

[Agent Strings]

My Custom User-Agent String

Useful links

     http://learn.iis.net/page.aspx/476/common-urlscan-scenarios/

     http://blogs.iis.net/nazim/archive/2008/06/30/urlscan-v3-0-filtering-based-on-request-entity.aspx

     http://learn.iis.net/page.aspx/473/using-urlscan?info=EXLINK

Hope this helps!

Published Friday, June 12, 2009 9:13 PM by rakkim
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# URLScan – rejecting the request depending on the User-Agent string

I just learned this now :-) You can now use the URLScan 3.1 with your own custom rules, and it would

Friday, June 12, 2009 4:18 PM by rakkimk

# URLScan – rejecting the request depending on the User-Agent string

I just learned this now :-) You can now use the URLScan 3.1 with your own custom rules, and it would

Friday, June 12, 2009 6:17 PM by ASP.NET and Silverlight

# URLScan – rejecting the request depending on the User-Agent string

I just learned this now :-) You can now use the URLScan 3.1 with your own custom rules, and it would

Friday, June 12, 2009 6:18 PM by Web and Cloud

# URLScan – rejecting the request depending on the User-Agent string

I just learned this now :-) You can now use the URLScan 3.1 with your own custom rules, and it would

Friday, June 12, 2009 6:19 PM by Web and Cloud

# URLScan – rejecting the request depending on the User-Agent string

I just learned this now :-) You can now use the URLScan 3.1 with your own custom rules, and it would

Friday, June 12, 2009 11:22 PM by ASP.NET Influential Weblogs

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker