pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: hubert baumgartner <hubert_baumgartner@mac.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: security
Date: Fri, 17 Jan 2003 22:33:27 -0500
Message-ID: <20902.1042860807@sss.pgh.pa.us> (raw)
In-Reply-To: <A5664754-2A71-11D7-B809-000393B613DC@mac.com>
References: <A5664754-2A71-11D7-B809-000393B613DC@mac.com>

hubert baumgartner <hubert_baumgartner@mac.com> writes:
> i have a few security concerns about postgres database and would like 
> to know if there is a possibility to compile postgres a way he only 
> accepts password athentication , and ignores the pg_hba.conf file .... 
> any ideas ?

I suppose you could rip all the auth methods except password out of the
code ... but I cannot imagine a more complete waste of time.  If someone
has write access to the pg_hba.conf file, then they have already broken
into your postgres account or your root account.  The game is over;
there isn't anything in your database that they can't read, change, or
delete.  Even more to the point, there's nothing stopping them from
changing all the database passwords.  What makes you think that password
authentication is one iota more secure than any other method, under
such conditions?

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <20902.1042860807@sss.pgh.pa.us>
Permalink:  ../20902.1042860807@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20902.1042860807@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, hubert_baumgartner@mac.com
  Subject: Re: security
  In-Reply-To: <20902.1042860807@sss.pgh.pa.us>
  References: <A5664754-2A71-11D7-B809-000393B613DC@mac.com> <20902.1042860807@sss.pgh.pa.us>

* 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