How to protect my website from HTML Injection

Posted by Nabanita under ASP.NET on 8/24/2010 | Points: 10 | Views : 2282 | Status : [Member] | Replies : 1
Hi every body, I am developing an web site in 2.0 . I want to make my site not vulnerable to any html injection attack.
Please tell what are all the possible steps to do it?


Posted by: SheoNarayan on: 8/24/2010 [Administrator] HonoraryPlatinum | Points: 25

HTML injection is a type of injection where user see the altered web server response.

In order to avoid the HTML injection, you can use Server.HtmlEncode method before showing any message to the user.

Read this, it may help You can watch this video that may help you understand how it is done.


Sheo Narayan

Nabanita, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response