Protecting your MySQL database from SQL injection attacks with GreenSQL
|
|
|
Comments (5)
and pass parameters, that gets rid of most the means of SQL injection from the start. There isn't a lot else you need to do after that.
Good advice. What's the earliest version of MySQL that supports stored procedures?
(Since I'm not a professional DB dev, I've never had reason to use them in my own development, so I don't know.)
(Since I'm not a professional DB dev, I've never had reason to use them in my own development, so I don't know.)
5.0 IIRC
If you don't have stored procedures, try prepared statements.
And if you don't have prepared statements... Well, here's a nickel, get yourself a real programming language ;)
Just get a proper Database Abstraction layer. If you're writing SQL statement by hand YOU HAVE A BUG!
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
Sign up and post (it is free) or Log in and post
