pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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 15:09:41 -0300
Message-ID: <48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com> (raw)
In-Reply-To: <1178733179.7497.54.camel@state.g2switchworks.com>
References: <48d0cacb0705090605i4c1c2107s2186c52468e07d46@mail.gmail.com>
	<1178733179.7497.54.camel@state.g2switchworks.com>

2007/5/9, Scott Marlowe <smarlowe@g2switchworks.com>:
> On Wed, 2007-05-09 at 08:05, Daniel Cristian Cruz wrote:
> > Hi there!
> >
> > Is it possible to revoke usage of pg_catalog for a specific user?
> >
> > The reason is to secure PostgreSQL. If a user can connect to a
> > database, it could query pg_class, pg_attribute, pg_proc search for
> > specific tables and if using dblink, even database passwords...
>
> That's not security, it's obscurity.

Yes, I used the wrong expression.

> You can grant / revoke access to anything a user should or should not be
> able to access anyway.

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...

Thanks...
-- 
Daniel Cristian Cruz



view thread (5+ messages)  latest in thread

Message-ID: <48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com>
Permalink:  ../48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com/
Also on:    postgresql.org/message-id/48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: danielcristian@gmail.com
  Subject: Re: Revoking usage of pg_catalog
  In-Reply-To: <48d0cacb0705091109n6e944fd9vc1bc8a12e6596bc9@mail.gmail.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