X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8B5FFD1B50F for ; Fri, 7 Nov 2003 19:06:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 68566-07 for ; Fri, 7 Nov 2003 15:06:07 -0400 (AST) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 4381ED1B4E1 for ; Fri, 7 Nov 2003 15:06:05 -0400 (AST) Received: (qmail 9996 invoked by uid 500); 7 Nov 2003 19:04:23 -0000 Date: Fri, 7 Nov 2003 13:04:23 -0600 From: Bruno Wolff III To: Gaetano Mendola Cc: "pgsql-admin@postgresql.org" , Jeff Subject: Re: read only connection Message-ID: <20031107190423.GA9940@wolff.to> Mail-Followup-To: Gaetano Mendola , "pgsql-admin@postgresql.org" , Jeff References: <3FAAD251.5090900@bigfoot.com> <20031107081653.6d19fae2.threshar@torgo.978.org> <3FABEA36.5010105@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FABEA36.5010105@bigfoot.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/129 X-Sequence-Number: 11117 On Fri, Nov 07, 2003 at 19:53:42 +0100, Gaetano Mendola wrote: > > I know but is not system/tables wide. > Each time that a table is created I shall remember > to revoke the permission, what I was looking for > was an option to insert into pg_hba.conf When you create a table you have to give permission for other people to use it at all. So just give select access instead of all access. You can even give this to a group (or public) so that you can add more users who should have read only access without having to change the access rights for each table.