From: John DeSoi <desoi@pgedit.com>
To: Daniel Cristian Cruz <danielcristian@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Revoking usage of pg_catalog
Date: Wed, 9 May 2007 19:47:57 -0400
Message-ID: <607E7698-2481-4FB0-A790-2230251B7424@pgedit.com> (raw)
In-Reply-To: <48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com>
References: <48d0cacb0705090605i4c1c2107s2186c52468e07d46@mail.gmail.com>
<1178733179.7497.54.camel@state.g2switchworks.com>
<48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com>
On May 9, 2007, at 2:09 PM, Daniel Cristian Cruz wrote:
> It's a web application user. I was trying to make some database magic,
> hardening SQL injections... But its wrong, the application must be
> secure. Unfortunelly I can't have a database user for each web user...
I don't see the issue if users don't connect directly to the
database, only through your web application. You then have complete
control over any query executed. You should not have to worry about
SQL injection if you use prepared queries and stored procedures.
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: desoi@pgedit.com, danielcristian@gmail.com
Subject: Re: Revoking usage of pg_catalog
In-Reply-To: <607E7698-2481-4FB0-A790-2230251B7424@pgedit.com>
References: <48d0cacb0705090605i4c1c2107s2186c52468e07d46@mail.gmail.com> <1178733179.7497.54.camel@state.g2switchworks.com> <48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com> <607E7698-2481-4FB0-A790-2230251B7424@pgedit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox