From: Dave <dave@hawk-systems.com>
To: pgsql-admin@postgresql.org
Subject: logic check of pg_hba.conf configuration
Date: Sun, 10 Mar 2002 18:20:23 -0500
Message-ID: <DBEIKNMKGOBGNDHAAKGNOEIMNAAA.dave@hawk-systems.com> (raw)
so rarely have problems with postgres that setup or reconfigs are few and far
between. In reviewing the docs on this after a recent config error, I am asking
for assistance to acid test the following config file.
running version 7.0
current pg_hba.conf contains//
local all trust
host sameuser 127.0.0.1 255.255.255.255 password
host all 123.45.678.1 255.255.255.255 trust
host all 0.0.0.0 0.0.0.0 reject
intended results are//
1) anyone who can ssh into the box should have admin priv anyway, as such trust
them
2) anyone accessing it via PHP, Perl, or others using port 5432 but from the
same physical machine will get access to the database that they provide
username/pw for - expect them to be logging in as their postgres username
3) 123.45.678.1 is a secure box, and needs to access database tables and such...
as such it should be able to connect to and do whatever as needed... trusted
4) no one else should from any other machine should be able to access any
database resources on this server
mods, misconceptions, problems?
thanks
Dave
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: dave@hawk-systems.com
Subject: Re: logic check of pg_hba.conf configuration
In-Reply-To: <DBEIKNMKGOBGNDHAAKGNOEIMNAAA.dave@hawk-systems.com>
References: <DBEIKNMKGOBGNDHAAKGNOEIMNAAA.dave@hawk-systems.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