Security design of SE-PostgreSQL(3/3)
Hi,
In recent days, I'm making progress in development of SE-PostgreSQL. I found some issues on the work.
The followings are the issues and solutions which I planed to take. I want any comment, idea and suggestion.
3. Database objects which are not enumerated in security_classes
In previous discussion, we didn't considered about some of database objects such as database user, view, trigger and so on.
Some of them contains PostgreSQL specific object type.
I believe the security design of SELinux is not PostgreSQL specific is better, so I want to add some new access vectors for common concepts of relational database and three new access vectors (xxxx_misc) for any other database objects as follows:
class database
inherits database
{
access
+ load_module + associate + create_misc + alter_misc + drop_misc + create_user + alter_user + drop_user + create_view + alter_view + drop_view + create_trigger + alter_trigger + drop_trigger
}
Or, some new object classes are necessary/desirable? I'm worrying about it will be unbounded and never-ending.
You can obtain the latest SE-PostgreSQL source code from:
http://code.google.com/p/sepgsql/source
and the sample security policy is here:
http://www.kaigai.gr.jp/pub/selinux-policy-2.5.2-5.sepgsql.src.rpm
Thanks,
Signature · 6 lines
KaiGai Kohei <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.