Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id A99CE4777CA for ; Fri, 14 Jun 2002 14:47:21 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 41675475D81 for ; Fri, 14 Jun 2002 14:43:36 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 00E9E3818C0; Fri, 14 Jun 2002 14:43:09 -0400 (EDT) From: Tom Haber X-Newsgroups: comp.databases.postgresql.admin Subject: Database restriction Date: Fri, 14 Jun 2002 11:47:43 +0000 (UTC) Organization: BELNET Lines: 10 Message-ID: X-Complaints-To: abuse@belnet.be User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.4.17 (i686)) To: pgsql-admin@postgresql.org X-Archive-Number: 200206/107 X-Sequence-Number: 4542 Is there a way to to grant user X access to database Y but restrict access to all other users? All this using encrypted password authentication. All I found was how to grant access based on ident and on databases 'sameuser'. Neither works for me, Most of my users come from localhost or through the socket. Regards, Tom Haber