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 fooserviceuser can own the FooService service, and
9 this user can only send the one kind of message -->
10 <policy user="fooserviceuser">
11 <allow own="org.foo.FooService"/>
12 <allow send="org.foo.FooBroadcastMessage"/>
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="org.foo.FooBroadcastMessage" receive_from="org.foo.FooService"/>