Update contrib.
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4 <!-- The following demonstrates how to punch holes in a default deny-all
5 policy so that a particular user can own a service, and other
6 connections can get messages from it -->
8 <!-- Only root can own the FooService service, and
9 this user can only send the one kind of message -->
11 <allow own="org.foo.FooService"/>
12 <allow send_interface="org.foo.FooBroadcastInterface"/>
15 <!-- Allow any connection to receive the message, but
16 only if the message is sent by the owner of FooService -->
17 <policy context="default">
18 <allow receive_interface="org.foo.FooBroadcastInterface" receive_sender="org.foo.FooService"/>