HP Fortify itself suggests you can beat most SQL injection attacks at URL line variables in web forms applications by cleaning the strings handed in like so:
string clean = dirty.Replace("&", "&").Replace("\"", """).Replace(">",
">").Replace("<", "<").Replace("'", "'");
No comments:
Post a Comment