Re: [RFC] PostgreSQL Access Control Extension (PGACE)

From: KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org, glenn(dot)faden(at)sun(dot)com, james(dot)hughes(at)sun(dot)com
Subject: Re: [RFC] PostgreSQL Access Control Extension (PGACE)
Date: 2007-04-18 18:45:44
Message-ID: 46266758.5050402@kaigai.gr.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> ... which presumably wouldn't involve any added dependency on outside
>> code.
>> For people who are already using SELinux or Trusted Solaris, making the
>> database dependent on that infrastructure might be seen as a plus, but
>> I'm not sure the rest of the world would be pleased.
>
> Yes, I was thinking that this should be a compile-time option with a lot
> of warnings in the Docs.

Yes, those facilities are not enabled without '--enable-selinux' compile-time
option. It's a bit unclear for me what means the "a lot of warnings the Docs".

> Give the team some credit, though; they've managed to come up with a
> system that integrates OS-level ACLs for both SElinux and TxSol, are not
> asking us to incorporate two different sets, and are coming to us with a
> serious proposal that has a lot of work behind it. Please don't blow
> them off like they were undergrads submitting a semester project. If
> they need to come back after 8.3 beta so we can properly pay attention
> to the proposal, then say so.

I don't hurry to merge those facilities regardless.
(8.3 is already feature frozen, as announced earlier.)

As I mentioned at first, the purpose of this discussion is to obtain
any feedbacks from PostgreSQL community, for our development.
I believe it also helps SE- stuff to be merged in the later version
of PostgreSQL.

> There are also
>> some interesting questions about SQL spec compliance and whether a
>> database that silently hides some rows from you will give semantically
>> consistent results.
>
> Yeah -- that's a potentially serious issue; KaiGai, have you looked into
> it?

Yes, I consider the policy to filter any violated tuple looks consistently.
The policy enforces any tuple has to be filtered before using them, and
it helps that computational processes don't get any effect from them.

But proving innocence is generally hard task.
At first, I want to know what points are you worried about the most.

Thanks,
--
KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-04-18 18:53:23 Re: [RFC] PostgreSQL Access Control Extension (PGACE)
Previous Message Jim C. Nasby 2007-04-18 18:36:12 Re: Hacking on PostgreSQL via GIT