Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can we use MSSql as backend in asp.net...if yes then How.?

1007


What are the asp.net security controls?

1126


How can you debug your.net application?

976


Is asp.net 64-bit enabled? How?

1029


What are custom user controls in asp.net?

983


Can we have multiple master pages in asp net?

940


Explain about Multi-Language integration?

975


What is the appSettings Section in the web.config file?

1015


What is .net remoting?

1004


Why is global asax is used for?

1015


Explain the Order of events in an asp.net page?

979


What is the difference between a default skin and a named skin?

1047


Why we are using mvc instead of asp.net? : Asp.Net MVC

990


How can we create pie chart in asp.net?

1044


How can we apply themes to an asp.net application?

1007