All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: KaiGai Kohei <kaigai@kaigai.gr.jp>
Cc: selinux@tycho.nsa.gov, jbrindle@tresys.com
Subject: Re: [RFC] Security design of SE-PostgreSQL (2/3)
Date: Sun, 18 Feb 2007 22:04:19 +1100	[thread overview]
Message-ID: <200702182204.21346.russell@coker.com.au> (raw)
In-Reply-To: <45D542AF.1030108@kaigai.gr.jp>

On Friday 16 February 2007 16:35, KaiGai Kohei <kaigai@kaigai.gr.jp> wrote:
> 2. about Loadable module
>
> PostgreSQL allowed to load dynamic link library.
> It has a possibility to mess up the access control of SE-PostgreSQL no need
> to say, so we have to restrict loading them by the security policy.
>
> I have an idea to add the following access vector for the purpose.
>   1. allow (context of client)   (context of database)  
> database:load_module;
> 2. allow (context of database) (context of shlib 
> file) database:associate;

Who will be loading such modules?  Only the DBA or regular users too?

In the above access control design you control which databases a user may load 
modules for and which modules may be associated with a given database.  But 
you don't control which modules a user may load.  Is it possible that modules 
A and B may be loaded into a database but only user C will be permitted to 
load module A?

Do modules have parameters?  Or is there only one way that a module can be 
used?

-- 
russell@coker.com.au
http://etbe.blogspot.com/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2007-02-18 11:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16  5:35 [RFC] Security design of SE-PostgreSQL (2/3) KaiGai Kohei
2007-02-18 11:04 ` Russell Coker [this message]
2007-02-18 16:15   ` KaiGai Kohei
2007-02-19  6:50     ` Russell Coker
2007-02-20  2:08       ` KaiGai Kohei
2007-02-20  9:45         ` Russell Coker
2007-02-20 12:38           ` KaiGai Kohei

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200702182204.21346.russell@coker.com.au \
    --to=russell@coker.com.au \
    --cc=jbrindle@tresys.com \
    --cc=kaigai@kaigai.gr.jp \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.