<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Preventing JavaScript Injection Attacks</title><link>http://asp.net</link><pubDate>Sun, 23 Jan 2011 05:06:19 GMT</pubDate><generator>umbraco</generator><description>Comments for Preventing JavaScript Injection Attacks</description><language>en</language><atom:link href="http://asp.net/rss/comments/27602" rel="self" type="application/rss+xml" /><item><title>Comment Posted by dangerouschotu</title><link>http://asp.net/mvc/tutorials/older-versions/security/preventing-javascript-injection-attacks-cs</link><pubDate>Mon, 12 Jul 2010 11:31:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009420</guid><description><![CDATA[ <p>I want to submit data in the database but i am unable to insert it shows me the error &quot;A potentially dangerous Request.Form value was detected from the client&quot;</p><p>i already changed ValidateRequest=&quot;false&quot;.</p><p>help me</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/dangerouschotu.jpg?forceidenticon=false&amp;dt=635048862600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vest</title><link>http://asp.net/mvc/tutorials/older-versions/security/preventing-javascript-injection-attacks-cs</link><pubDate>Sun, 23 Jan 2011 05:03:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011719</guid><description><![CDATA[ <p>dangerouschotu : it is possible that you need to disable the validation in web.config file, or using some attribute (I forgot its exact name) before the controller&#39;s action.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vest.jpg?forceidenticon=false&amp;dt=635048862600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vest</title><link>http://asp.net/mvc/tutorials/older-versions/security/preventing-javascript-injection-attacks-cs</link><pubDate>Sun, 23 Jan 2011 05:06:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011720</guid><description><![CDATA[ <p>By the way, you can try to parse user input and cut of &lt;script&gt; blocks.</p><p>For example, if your web site allows to use HTML tags to emphasize user input, and you wish to use &lt;b&gt; tags (for example).</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vest.jpg?forceidenticon=false&amp;dt=635048862600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>