find any article about sql injections - u'll see what you need to do
normal way:
1. audit, audit and .....ughm.... audit. make stored procedures from all of your queries, make separate user with only rights to execute those procedures (and no other permissions).
2. check any data, that goes directly into query - length, symbols, reserved words.
3. don't forget about php injections.
|