From: Bruno Wolff III <bruno@wolff.to>
To: Igor Georgiev <gory@alphasoft-bg.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: Security question : Database access control
Date: Tue, 22 Oct 2002 09:27:09 -0500
Message-ID: <20021022142709.GA29891@wolff.to> (raw)
In-Reply-To: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg>
References: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg>
On Tue, Oct 22, 2002 at 17:05:38 +0200,
Igor Georgiev <gory@alphasoft-bg.com> wrote:
> Is there any way to prevent superuser to acces the database ?
> I mean something like "GRANT / REVOKE CONNECT" MECHANISM
>
> I have no idea how to prevent root from access data in one of this ways :
> root @ linux:~#su - postgres
> postgres @ linux:/usr/local/pgsql/bin$pg_dump ....
> or
> edit pg_hba.conf
> # Allow any user on the local system to connect to any
> # database under any username, but only via an IP connection:
> host all 127.0.0.1 255.255.255.255 trust
> # The same, over Unix-socket connections:
> local all trust
> or my nightmare a cygwin on Win 98 everybody can can access everything :-((((
They can just read the raw database files as well. You have to be able to
trust whoever has root access to the system, as well as anyone who has
physical access to the system.
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: bruno@wolff.to, gory@alphasoft-bg.com, pgsql-hackers@postgresql.org
Subject: Re: Security question : Database access control
In-Reply-To: <20021022142709.GA29891@wolff.to>
References: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg> <20021022142709.GA29891@wolff.to>
* 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