Re: sepgsql where are the security labels - Mailing list pgsql-general

From Adrian Klaver
Subject Re: sepgsql where are the security labels
Date
Msg-id 5464CDC1.7070704@aklaver.com
Whole thread Raw
In response to Re: sepgsql where are the security labels  (Ted Toth <txtoth@gmail.com>)
Responses Re: sepgsql where are the security labels
List pgsql-general
On 11/13/2014 05:58 AM, Ted Toth wrote:
> This table maintains information about the context of postgresql
> objects not the data in tables.



http://www.slideshare.net/kaigai/label-based-mandatory-access-control-on-postgresql

Slide 23

>
> On Wed, Nov 12, 2014 at 5:56 PM, Adrian Klaver
> <adrian.klaver@aklaver.com> wrote:
>> On 11/12/2014 02:45 PM, Ted Toth wrote:
>>>
>>> I'm running selinux mls policy I've got labeled ipsec working and my
>>> postgresql configured to load
>>> sepgsql. I've created a db, run the sepgsql.sql script on it, created
>>> tables and inserted data. How do I
>>> query the security labels on the data?
>>
>>
>> I do not use SECURITY LABELS, but it seems they can be queried here:
>>
>> http://www.postgresql.org/docs/9.3/interactive/view-pg-seclabels.html
>>
>>
>>   As best I can tell there is no
>>>
>>> security_context
>>> column on either of the tables I've created that I see? How does the
>>> system column security_context get added to tables? I've read
>>> everything I can find on the web but
>>> a lot of it is dated. Here's how I'm creating my db and tables:
>>>
>>
>> --
>> Adrian Klaver
>> adrian.klaver@aklaver.com
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: After insert trigger not work
Next
From: Adrian Klaver
Date:
Subject: Re: sepgsql where are the security labels