From: Adrian Klaver <adrian.klaver@aklaver.com>
To: stan <stanb@panix.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Collumn level permissions ?
Date: Mon, 19 Aug 2019 12:24:11 -0700
Message-ID: <6b418494-d849-bdc8-3bd0-bdaadcdc4095@aklaver.com> (raw)
In-Reply-To: <20190819191702.GA27027@panix.com>
References: <20190819191702.GA27027@panix.com>
On 8/19/19 12:17 PM, stan wrote:
> I do know a way to solve this. I could create a view "B" that is a view of
> tab;e "A" without column "C" on the select, and give a user permissions on
> B, but not on A, or at least I think that would work.
>
> What I specifically need to do is "hide" one column of a table from a set
> of users.
>
> Any better way to do this?
https://www.postgresql.org/docs/11/sql-grant.html>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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-general@postgresql.org
Cc: adrian.klaver@aklaver.com, stanb@panix.com
Subject: Re: Collumn level permissions ?
In-Reply-To: <6b418494-d849-bdc8-3bd0-bdaadcdc4095@aklaver.com>
References: <20190819191702.GA27027@panix.com> <6b418494-d849-bdc8-3bd0-bdaadcdc4095@aklaver.com>
* 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