I working on XSS(cross site scripting) issues of my web application. The app has many user controls that take user inputs.
I came across this article http://www.asp.net/whitepapers/request-validation
Can you please answer the below questions:
Are there any downsides of using validateRequest="true" at application level (in web.config)?
Is there any better way to fix XSS issues apart from going on each and every control and doing HTML encode?
Thanks in advance.