A potentially dangerous Request.Form value was detected from the client...................

Se vi capita tale tipo di errore ecco come evitarlo..http://dotnetjunkies.com/WebLog/warstar/archive/2004/03/19/9554.aspx

posted @ mercoledì 15 dicembre 2004 12.41

Print

Comments on this entry:

# re: A potentially dangerous Request.Form value was detected from the client...................

Left by Andrea Boschin at 15/12/2004 16.21
Gravatar
Però se metti ValidateRequest=false allora devi assicurarti di gestire tutti i campi testuali <asp:TextBox> per evitare il code Injection. Nello stesso post suggeriscono HTMLEncode che direi è obbligatorio. altrimenti cose come questa sono il minimo:

<script>alert("ciao");</script>

# re: A potentially dangerous Request.Form value was detected from the client...................

Left by Non at 25/01/2005 11.54
Gravatar
<HTML>

Your comment:



 (will not be displayed)


 
 
 
Please add 7 and 2 and type the answer here:
 

Live Comment Preview:

 
«febbraio»
domlunmarmergiovensab
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910