Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f87N5r797432 for ; Fri, 7 Sep 2001 19:05:54 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f87N5kK11015; Fri, 7 Sep 2001 19:05:46 -0400 (EDT) To: "Mike Rogers" cc: pgsql-admin@postgresql.org Subject: Re: FINAL: Multi-User PostgreSQL usage SECURITY In-reply-to: References: Comments: In-reply-to "Mike Rogers" message dated "Fri, 07 Sep 2001 19:08:08 -0300" Date: Fri, 07 Sep 2001 19:05:46 -0400 Message-ID: <11012.999903946@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200109/35 X-Sequence-Number: 2135 "Mike Rogers" writes: > I have tried chaning pg_hba.conf to add the database field to the user, > but that doesn't seem to help at all. Make the database field "sameuser", and then the line only allows connection to one's own database. You will need an escape hatch to allow you as superuser to get into everyone's db (else you can't run pg_dumpall). The escape hatch should be a second line in pg_hba.conf with a tighter authorization method (eg, a secondary password file with an entry only for you). regards, tom lane