Re: problems with user rights

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: John DeSoi <desoi(at)pgedit(dot)com>
Cc: Zouari Fourat <fourat(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: problems with user rights
Date: 2005-03-30 16:47:31
Message-ID: 20050330164731.GB35744@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Mar 30, 2005 at 11:14:38AM -0500, John DeSoi wrote:
> On Mar 30, 2005, at 10:17 AM, Zouari Fourat wrote:
>
> >is it really secure in a shared hosting environnement case ?
> >do you advise me to offer pgsql in a shared hosting ?
>
> You can do all of the necessary things to control access to the
> databases.

...like using pg_hba.conf to control who's allowed to connect to
each database. If you don't want people to query the system catalogs
for a particular database, then don't allow them to connect to that
database (there are a few shared catalogs that anybody can query,
however).

The db_user_namespace configuration variable might help with managing
access, but the documentation says that it's "intended as a temporary
measure until a complete solution is found," so caveat administrator.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2005-03-30 17:04:53 Re: connectivity to database been an issue for me.
Previous Message Anjan Dave 2005-03-30 16:46:30 Re: compilation problem with readline