You have multiline textbox and submit button. if you paste
xml content into multiline textbox and hit submit button.
what action will perform?
Answer Posted / srini
ValidateRequest is default to true
"The server encountered a potenially unsafe form request......" exception is thrown when it's 'true' as it validates the request when posted back.
If you change it to 'false', page will be posted without any exception. But we need to implement custom encoding technique before storing it to DB to avoid scrip inserts for security reasons.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can we use MSSql as backend in asp.net...if yes then How.?
What are the asp.net security controls?
How can you debug your.net application?
Is asp.net 64-bit enabled? How?
What are custom user controls in asp.net?
Can we have multiple master pages in asp net?
Explain about Multi-Language integration?
What is the appSettings Section in the web.config file?
What is .net remoting?
Why is global asax is used for?
Explain the Order of events in an asp.net page?
What is the difference between a default skin and a named skin?
Why we are using mvc instead of asp.net? : Asp.Net MVC
How can we create pie chart in asp.net?
How can we apply themes to an asp.net application?