summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/avahi-dbus.conf.in
blob: 416c8dc07073f9597d7895058bcdf9af798abcb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- Only root or user @AVAHI_USER@ can own the Avahi service -->
  <policy user="@AVAHI_USER@">
    <allow own="org.freedesktop.Avahi"/>
  </policy>
  <policy user="root">
    <allow own="org.freedesktop.Avahi"/>
  </policy>

  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  <policy context="default">
    <allow send_interface="org.freedesktop.Avahi"/>

    <allow receive_interface="org.freedesktop.Avahi"
           receive_sender="org.freedesktop.Avahi"/>
  </policy>

  <limit name="max_match_rules_per_connection">512</limit>
  <limit name="max_connections_per_user">20</limit>

</busconfig>