From: | Ron <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Securing records using linux grou permissions |
Date: | 2019-10-15 17:18:13 |
Message-ID: | cdbfa86a-bdf6-eb29-4e60-8cd05a703c9c@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
It can be done, but you'd need much tighter integration with the OS, which
would probably lock you in to only one platform ("Unix", not just Linux).
On 10/15/19 12:10 PM, David Gauthier wrote:
> Ok, thanks.
> I was hoping there was a way to integrate the user/permissions/groups in
> linux with the PG permissions functionality.
>
> On Tue, Oct 15, 2019 at 12:32 PM Michael Lewis <mlewis(at)entrata(dot)com
> <mailto:mlewis(at)entrata(dot)com>> wrote:
>
> It sounds like you want row level security-
> https://www.postgresql.org/docs/9.6/ddl-rowsecurity.html
>
> But, you will need to define separate roles on the database and ensure
> that the users and connecting with separate roles. The db can't
> magically know about the permissions on the OS side.
>
--
Angular momentum makes the world go 'round.
From | Date | Subject | |
---|---|---|---|
Next Message | raylu | 2019-10-15 21:51:37 | Text search lexer's handling of hyphens and negatives |
Previous Message | David Gauthier | 2019-10-15 17:10:13 | Re: Securing records using linux grou permissions |