uccdoor-dbus.conf: a configuration file for the system D-BUS daemon
authorDavid Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>
Mon, 7 Sep 2009 13:30:38 +0000 (21:30 +0800)
committerDavid Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>
Tue, 13 Oct 2009 14:38:46 +0000 (22:38 +0800)
uccdoor-dbus.conf [new file with mode: 0644]

diff --git a/uccdoor-dbus.conf b/uccdoor-dbus.conf
new file mode 100644 (file)
index 0000000..84348dc
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+  <!-- system bus configuration for UCC door server -->
+  
+  <!-- Only root or user door can own the door server name -->
+  <policy user="door">
+    <allow own="au.asn.ucc.DoorServer"/>
+  </policy>
+  <policy user="root">
+    <allow own="au.asn.ucc.DoorServer"/>
+  </policy>
+  
+  <!-- anyone can talk to us -->
+  <policy context="default">
+    <allow send_destination="au.asn.ucc.DoorServer"/>
+  </policy>
+</busconfig>

UCC git Repository :: git.ucc.asn.au