Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Protecting a web app from Postgresql injection




Mary,

Are you using parameter substitution in your queries? That is the best way to protect against these kinds of attacks.

What language are you using? We can provide examples of this if you'd like.

Cheers,
-Josh

On Wed, 30 Jan 2008, Mary Anderson wrote:

Date: Wed, 30 Jan 2008 13:48:59 -0800
From: Mary Anderson <maryfran(at)demog(dot)berkeley(dot)edu>
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] Protecting a web app from Postgresql injection

Hi all,
I have a web app I would like to protect against postgreSQL injection. What characters should I be on the lookout for? Any Any suggestions for enhancing the security of my app are welcome.

Mary Anderson

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend





Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group