First Line of Defense for Web Applications – Part 5

First of all folks, my apologies for this delayed post. I have been traveling and busy doing a very  interesting Threat Modeling exercise. But i am back & Lets cover some other validation bloopers – SQL injection  Weak Validation Examples Code Snippets a)      Replacing single Quotes to double quotes Sample.aspx.cs   catergoryID=Request.QueryString(id);   SqlCommand myCommand = new SqlCommand(“SELECT  *…

2