Ask a Question related to ASP.NET Security, Design and Development.
-
Victor Garcia Aprea [MVP] #1
Re: Howto catch HttpRequestValidationException myself
Hi Henk,
As with any other exception you can catch it in the Error event of the Page
and Error event of the Application. But you won't be able to continue the
normal execution of the page after this exception fires. If you want to
provide your own checkings you should disable the built-in validation and
write your own.
To learn more about how ValidateRequest internally works take a look at:
[url]http://weblogs.asp.net/vga/posts/6329.aspx[/url]
[url]http://weblogs.asp.net/vga/posts/7170.aspx[/url]
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
[url]http://obies.com/vga/blog.aspx[/url]
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
"Henk" <THIS@IS.FAKE_USE_REPLY_ADRES> wrote in message
news:e9tI%23m3RDHA.304@tk2msftngp13.phx.gbl...so> I want to catch the HttpRequestValidationException exception in my code,do> I can check the input for potentially malicious code myself. But.... how> I do this and allow the rest of the pagecode to run?
>
> Henk
>
>
Victor Garcia Aprea [MVP] Guest
-
catch 401.2 error
Dear collegues! I am trying to create a single Login Application, that can either authenticate against a database or against ADSI. Intenal users... -
catch an 401.2 error
Dear collegues! I am trying to create a single Login Application, that can either authenticate against a database or against ADSI. Intenal users... -
[PHP] Try/Catch
Try/Catch Well, may question is about the Scope of Throwed Execeptions. What version of PHP are you running? Only V5 has this kind of... -
Try/Catch
Well, may question is about the Scope of Throwed Execeptions. Look my example: I have something like this: //...cut... try { $res =... -
ASP catch exception
I use the following code and get the following error message in my ASP page(not .net). Please help try mycode Catch ex As Exception... -
Victor Garcia Aprea [MVP] #2
Re: Howto catch HttpRequestValidationException myself
Hi Henk,
As with any other exception you can catch it in the Error event of the Page
and Error event of the Application. But you won't be able to continue the
normal execution of the page after this exception fires. If you want to
provide your own checkings you should disable the built-in validation and
write your own.
To learn more about how ValidateRequest internally works take a look at:
[url]http://weblogs.asp.net/vga/posts/6329.aspx[/url]
[url]http://weblogs.asp.net/vga/posts/7170.aspx[/url]
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
[url]http://obies.com/vga/blog.aspx[/url]
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
"Henk" <THIS@IS.FAKE_USE_REPLY_ADRES> wrote in message
news:e9tI%23m3RDHA.304@tk2msftngp13.phx.gbl...so> I want to catch the HttpRequestValidationException exception in my code,do> I can check the input for potentially malicious code myself. But.... how> I do this and allow the rest of the pagecode to run?
>
> Henk
>
>
Victor Garcia Aprea [MVP] Guest



Reply With Quote

