D
Dilip
I have a question on the ValidateRequest directive at the Page level.
I ran into a case where my querystring was filled with some value that
contained the '<', '>' symbols. I promptly got this error back from
IIS:
===============
403: Access Forbidden
Due to the presence of characters known to be used in Cross Site
Scripting attacks, access is forbidden. This web site does not allow
Urls which might include embedded HTML tags.
=================
What I do not understand about this error is, who is throwing it? Is
it ASP.NET or IIS? If my querystring is rejected because
ValidateRequest directive is kicking in, then the wording of the error
happens to be different in that case, right? (something starting with
"A potentially dangerous value was detected....").
On another note -- in my laptop I have set ValidateRequest to true at
the page level but a similar URL with a '<' filled querystring value
goes through just fine.
What is happening?
thanks
--Dilip
I ran into a case where my querystring was filled with some value that
contained the '<', '>' symbols. I promptly got this error back from
IIS:
===============
403: Access Forbidden
Due to the presence of characters known to be used in Cross Site
Scripting attacks, access is forbidden. This web site does not allow
Urls which might include embedded HTML tags.
=================
What I do not understand about this error is, who is throwing it? Is
it ASP.NET or IIS? If my querystring is rejected because
ValidateRequest directive is kicking in, then the wording of the error
happens to be different in that case, right? (something starting with
"A potentially dangerous value was detected....").
On another note -- in my laptop I have set ValidateRequest to true at
the page level but a similar URL with a '<' filled querystring value
goes through just fine.
What is happening?
thanks
--Dilip