SQL injection occurs when user input is not filtered for escape characters and is then passed into an SQL statement
////Through this you can remove sqlinjection problem
Example
String name = txtUserId.Text.Trim().Replace("'", "''");
String Password = txtPassword.Text.Trim().Replace("'", "''");
Showing posts with label Why sql Injection problem occur. Show all posts
Showing posts with label Why sql Injection problem occur. Show all posts
Tuesday, October 19, 2010
Subscribe to:
Posts (Atom)