Received: from www.internection.com (cerberus.internection.com [208.226.79.42]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1B1EJE92156 for ; Sun, 10 Feb 2002 20:14:20 -0500 (EST) (envelope-from jon@internection.com) Date: Sun, 10 Feb 2002 20:14:16 -0500 (EST) From: Jon August To: Stephan Szabo cc: Chris Ruprecht , PostGreSQL Admin Group Subject: Re: user to database restriction? In-Reply-To: <20020210170136.C73516-100000@megazone23.bigpanda.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200202/92 X-Sequence-Number: 3251 Ok, it looks like the final argument is used to set up realtionships between remote unix users to pg users. So wouldn't that mean that ultimately the user would be able to view any database anyway since the pg user can view any database? (aside from revoking privs at the table level) Is there any means of user to database access restriction? On Sun, 10 Feb 2002, Stephan Szabo wrote: > > local all password postgres > > host all xxx.xxx.xxx.xxx 255.255.255.255 password postgres > > local shopdb password mark > > host shopdb xxx.xxx.xxx.xxx 255.255.255.255 password mark > > The final argument goes to an external file in $PGDATA that lists users > (and optionally passwords) for the users that are allowed into the db.