Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Preventing Cross Site Scripting Attacks in ASP.NET MVC 4

A website is exposed to various types of attacks and one of the most common types of attack is what is known as Cross Site Scripting (XSS). In a cross site scripting attack, malicious markup and script is entered in the web pages that are viewed by other users. If proper care is not taken to filter this malicious piece of markup, the script gets stored in the system and also rendered on web pages. Depending on the script injected by the hacker it can cause damage ranging from annoying popups to stolen credentials to accessing data stored in cookies. Therefore, it is important for ASP.NET MVC developers to prevent these types of attacks. Luckily, ASP.NET MVC offers a helping hand in safeguarding your websites. This article discusses some of the basics involved in the process.

http://www.bipinjoshi.net/articles/7e79ca45-5bf7-4dc4-b97e-3fdbae06c988.aspx


No Comments