Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by postgresql.org (Postfix) with SMTP id 6FDF147510B for ; Sun, 10 Mar 2002 18:17:43 -0500 (EST) Received: (qmail 95360 invoked from network); 10 Mar 2002 23:24:59 -0000 Received: from unknown (HELO cr159591a) (24.102.18.54) by web1.nexusinternetsolutions.net with SMTP; 10 Mar 2002 23:24:59 -0000 From: "Dave" To: Subject: logic check of pg_hba.conf configuration Date: Sun, 10 Mar 2002 18:20:23 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Archive-Number: 200203/124 X-Sequence-Number: 3658 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