From: Zouari Fourat <fourat@gmail.com>
To: John DeSoi <desoi@pgedit.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: problems with user rights
Date: Wed, 30 Mar 2005 17:17:54 +0200
Message-ID: <621eda8a0503300717ca9a63a@mail.gmail.com> (raw)
In-Reply-To: <2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com>
References: <621eda8a050328053256ac576b@mail.gmail.com>
<621eda8a0503300043711fdaf3@mail.gmail.com>
<2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com>
is it really secure in a shared hosting environnement case ?
do you advise me to offer pgsql in a shared hosting ?
On Wed, 30 Mar 2005 08:04:00 -0500, John DeSoi <desoi@pgedit.com> wrote:
> > i've just added a new user called xxx :
> >
> > create user xxx with password zzz;
> >
> > now am creating it's database :
> >
> > create database db_xxx with owner xxx;
> >
> > it works fine althought when logging with the user xxx i can still
> > view other databases contents especially pg_catalog schems.
> >
> > is it the right way to add a user ? am i wrong ?
> > i dont want to let my new user view the others databases on the server.
>
> Viewing the information in the system catalogs is open to all users.
> There is not a way to hide it unless you build an interface on top of
> PostgreSQL that limits the queries the user can execute.
>
> 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: fourat@gmail.com, desoi@pgedit.com
Subject: Re: problems with user rights
In-Reply-To: <621eda8a0503300717ca9a63a@mail.gmail.com>
References: <621eda8a050328053256ac576b@mail.gmail.com> <621eda8a0503300043711fdaf3@mail.gmail.com> <2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com> <621eda8a0503300717ca9a63a@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