I just have a quick question...what is the best way to defend against or prevent SQL Injections??
10 Replies - 2248 Views - Last Post: 07 November 2012 - 07:12 PM
#1
Question: What is the best way to prevent SQL Injections!?
Posted 06 June 2012 - 08:00 AM
Replies To: Question: What is the best way to prevent SQL Injections!?
#2
Re: Question: What is the best way to prevent SQL Injections!?
Posted 06 June 2012 - 08:04 AM
Take your SQL in pill form.
/rimshot
/rimshot
#3
Re: Question: What is the best way to prevent SQL Injections!?
Posted 06 June 2012 - 02:17 PM
You can use Prepared Statements.
#4
Re: Question: What is the best way to prevent SQL Injections!?
Posted 06 June 2012 - 04:10 PM

POPULAR
Lol, +1
Here's some tutorials on DIC by Dormilich that sugar-coat the experience for you. As much as Dormilich sugar-coats things anyhow:
Introduction to PDO
Be prepared for your database
Here's some tutorials on DIC by Dormilich that sugar-coat the experience for you. As much as Dormilich sugar-coats things anyhow:
Introduction to PDO
Be prepared for your database
#6
Re: Question: What is the best way to prevent SQL Injections!?
Posted 12 June 2012 - 12:27 PM
...by vigorously validating your database inputs.
#7
Re: Question: What is the best way to prevent SQL Injections!?
Posted 13 June 2012 - 08:30 AM
The best single specific is to use stored procedures, and accept user input as parameters, rather than plugging user input into strings of sql instructions and passing them to your database. And then "vigorously validate your database inputs" from there.
#8
Re: Question: What is the best way to prevent SQL Injections!?
Posted 06 November 2012 - 03:01 PM
What is the best way to prevent SQL Injections for CakePHP's upload button. Please post some links to some reference material. Thanks!
This post has been edited by BarNunBoi: 06 November 2012 - 03:01 PM
#9
Re: Question: What is the best way to prevent SQL Injections!?
Posted 06 November 2012 - 03:29 PM
CakePHP's "upload button"? What is that? Link please.
#10
Re: Question: What is the best way to prevent SQL Injections!?
Posted 06 November 2012 - 09:37 PM
Excuse me.....how do prevent injections from the form? I have a form that's allows users to upload data from a spreadsheet and I don't want to be vulnerable to attacks.
#11
Re: Question: What is the best way to prevent SQL Injections!?
Posted 07 November 2012 - 07:12 PM
http://api.cakephp.org/class/mysql
I believe cake PHP uses PDO
I may be wrong but that is what I have read.
I believe cake PHP uses PDO
I may be wrong but that is what I have read.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote








|