* info-daemon/NetworkManagerInfo.conf

- Created a more robust security policy for the DBus service
		- everything is denied by default
		- root can own and send to the service
		- users logged in at the console can send to the service


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@159 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
John Palmieri 2004-09-15 18:21:56 +00:00
parent cfe5ca8f93
commit 6e2f8e1503
2 changed files with 20 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2004-09-15 John (J5) Palmieri <johnp@redhat.com>
* info-daemon/NetworkManagerInfo.conf
- Created a more robust security policy for the DBus service
- everything is denied by default
- root can own and send to the service
- users logged in at the console can send to the service
2004-09-13 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c

View file

@ -2,11 +2,21 @@
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy context="default">
<policy user="root">
<allow own="org.freedesktop.NetworkManagerInfo"/>
<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
<allow send_interface="org.freedesktop.NetworkManagerInfo"/>
<allow send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>
<policy at_console="true">
<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
<allow send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManagerInfo"/>
<deny send_destination="org.freedesktop.NetworkManagerInfo"/>
<deny send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>
</busconfig>