Re: SQL injection - Mailing list pgsql-general

From Hannes Dorbath
Subject Re: SQL injection
Date
Msg-id dkcqab$8v4$1@news.hub.org
Whole thread Raw
In response to Re: SQL injection  (Alex Turner <armtuk@gmail.com>)
Responses Re: SQL injection
Re: SQL injection
List pgsql-general
On 03.11.2005 04:12, Alex Turner wrote:
> I would have to say that for security purposes - I would want magic
> quotes _on_ rather than off for the whole reasons of SQL Injection
> that we already talked about.

magic_quotes is evil and does if anything only prevent the simplest
cases of SQL injections. Keep it turned off. Use
http://php.net/pg_query_params exclusively to build secure queries..


--
Regards,
Hannes Dorbath

pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: mysql replace in postgreSQL?
Next
From: "Sim Zacks"
Date:
Subject: left join a parenthesised inner join group