pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: Jeff <threshar@torgo.978.org>
Subject: Re: read only connection
Date: Fri, 7 Nov 2003 13:04:23 -0600
Message-ID: <20031107190423.GA9940@wolff.to> (raw)
In-Reply-To: <3FABEA36.5010105@bigfoot.com>
References: <3FAAD251.5090900@bigfoot.com>
	<20031107081653.6d19fae2.threshar@torgo.978.org>
	<3FABEA36.5010105@bigfoot.com>

On Fri, Nov 07, 2003 at 19:53:42 +0100,
  Gaetano Mendola <mendola@bigfoot.com> 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.



view thread (5+ messages)

Message-ID: <20031107190423.GA9940@wolff.to>
Permalink:  ../20031107190423.GA9940@wolff.to/
Also on:    postgresql.org/message-id/20031107190423.GA9940@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, mendola@bigfoot.com, threshar@torgo.978.org
  Subject: Re: read only connection
  In-Reply-To: <20031107190423.GA9940@wolff.to>
  References: <3FAAD251.5090900@bigfoot.com> <20031107081653.6d19fae2.threshar@torgo.978.org> <3FABEA36.5010105@bigfoot.com> <20031107190423.GA9940@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox