Groups | Blog | Home
all groups > asp.net security > june 2007 >

asp.net security : What characters are allowed by validateRequest page directive?


Ken Sturgeon
6/11/2007 12:28:10 PM
I've seen several articles that indicate that if the page directive
validateRequest="True" (shown below) that the user input is validated
against a hard coded list of characters. What I cannot find is any
documentation that shows the hard coded list of characters. Does anyone know
where I can find this list or know exactly what's in the list?

<% @ Page validateRequest="True" %>


Thanks

-- Ken Sturgeon
Dominick Baier
6/11/2007 10:19:10 PM
well - besides having a look with reflector -

it is mostly

< followed by a-z

and

< followed by #

there is a third one i forgot.


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

[quoted text, click to view]

AddThis Social Bookmark Button