pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Igor Georgiev <gory@alphasoft-bg.com>
To: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Security question : Database access control
Date: Tue, 22 Oct 2002 17:05:38 +0200
Message-ID: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg> (raw)

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 :-((((

view thread (13+ messages)  latest in thread

Message-ID: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg>
Permalink:  ../001f01c279dc$7c7e1940$0b0546c0@alpha.bg/
Also on:    postgresql.org/message-id/001f01c279dc$7c7e1940$0b0546c0@alpha.bg

 · 

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: gory@alphasoft-bg.com, pgsql-hackers@postgresql.org
  Subject: Re: Security question : Database access control
  In-Reply-To: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg>
  References: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg>

* 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