Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block Java User-Agent

Status
Not open for further replies.

lovewindoze

Technical User
Joined
Jan 16, 2003
Messages
36
Location
US
what's the best way to block a Java User-Agent?
specifically Java/1.6.0_13 but will want to for all versions.

Do I do this with a header script?
through IIS Manager?
or where?
 
The Request.UserAgent property will return the user agent, so you could block all of these agents via a method in you Global.asax file. As to whether you can do this in IIS, I don't know but you could ask the question in the IIS forum.

Mark,

Darlington Web Design
Experts, Information, Ideas & Knowledge
ASP.NET Tips & Tricks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top