View Single Post

   
  #6 (permalink)  
Old 04-15-2008, 09:33 PM
Tom Lane
 
Posts: n/a
Default Re: SQL injection, php and queueing multiple statement

Ivan Sergio Borgonovo <mail@webthatworks.it> writes:
> I may sound naive but having a way to protect the DB from this kind
> of injections looks as a common problem, I'd thought there was
> already a common solution.


Use prepared statements.

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply With Quote