pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: John DeSoi <desoi@pgedit.com>
Cc: Zouari Fourat <fourat@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: problems with user rights
Date: Wed, 30 Mar 2005 09:47:31 -0700
Message-ID: <20050330164731.GB35744@winnie.fuhr.org> (raw)
In-Reply-To: <D0916F2A-A136-11D9-A2E3-000A95B03262@pgedit.com>
References: <621eda8a050328053256ac576b@mail.gmail.com>
	<621eda8a0503300043711fdaf3@mail.gmail.com>
	<2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com>
	<621eda8a0503300717ca9a63a@mail.gmail.com>
	<D0916F2A-A136-11D9-A2E3-000A95B03262@pgedit.com>

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/



view thread (9+ messages)  latest in thread

Message-ID: <20050330164731.GB35744@winnie.fuhr.org>
Permalink:  ../20050330164731.GB35744@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050330164731.GB35744@winnie.fuhr.org

 · 

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 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: mike@fuhr.org, desoi@pgedit.com, fourat@gmail.com
  Subject: Re: problems with user rights
  In-Reply-To: <20050330164731.GB35744@winnie.fuhr.org>
  References: <621eda8a050328053256ac576b@mail.gmail.com> <621eda8a0503300043711fdaf3@mail.gmail.com> <2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com> <621eda8a0503300717ca9a63a@mail.gmail.com> <D0916F2A-A136-11D9-A2E3-000A95B03262@pgedit.com> <20050330164731.GB35744@winnie.fuhr.org>

* 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