Here are a few suggestions to counter the problem of sql injections.
Database Permissions
Set the permissions on the database username / password as tightly as possible. If you are displaying data, there is no need for the user to have insert or update permissions into the database. One solution is to have two usernames / passwords. [...]
Entries from April 2011
Ways to counter SQL Injection
April 2nd, 2011 · No Comments
Tags: SQL Injection · SQL databases