Re: access and security

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Andrew Kelly <akelly(at)corisweb(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: access and security
Date: 2006-10-30 14:36:34
Message-ID: 20061030143634.GA8246@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 30, 2006 at 01:34:34PM +0100, Andrew Kelly wrote:
> Hi all,
>
> please forgive a (likely) less than clever question.
>
> Are the barriers provided by pg_hba.conf enough from a security
> standpoint, or is it best to put up some iptable rules duplicating the
> restrictions?

iptables covers the entire server, whereas pg_hba.conf cancontrol per
database. Think of it as layers. If you know only two other machines
will ever access this server, you can use iptables to enforce this.
From those two machines, you than use pg_hba.conf to fine-tune the
access controls.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Kelly 2006-10-30 14:47:44 Re: access and security
Previous Message Ilan Volow 2006-10-30 14:35:22 Re: postgresql books and convertion utilities