diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-05 21:01:16 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-05 21:01:16 +0100 |
commit | 388c25895e899d02d2bb76ad0749db4c6b3788fd (patch) | |
tree | c2ef32486af3246019f90f325557dc62e29ef010 /src/bluetooth.conf | |
parent | ba1a277034a344ed241f7ba96a989d7f60eca248 (diff) |
Add deny statements to D-Bus access policy
Diffstat (limited to 'src/bluetooth.conf')
-rw-r--r-- | src/bluetooth.conf | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/bluetooth.conf b/src/bluetooth.conf index ecced073..6f5d1664 100644 --- a/src/bluetooth.conf +++ b/src/bluetooth.conf @@ -13,7 +13,6 @@ <policy at_console="true"> <allow send_path="/"/> - <allow send_path="/org/bluez"/> <allow send_destination="org.bluez.Manager"/> <allow receive_sender="org.bluez.Manager"/> @@ -23,6 +22,23 @@ <allow send_destination="org.bluez.Device"/> <allow receive_sender="org.bluez.Device"/> + + <allow send_destination="org.bluez.Service"/> + <allow receive_sender="org.bluez.Service"/> + </policy> + + <policy context="default"> + <deny send_destination="org.bluez.Manager"/> + <deny receive_sender="org.bluez.Manager"/> + + <deny send_destination="org.bluez.Adapter"/> + <deny receive_sender="org.bluez.Adapter"/> + + <deny send_destination="org.bluez.Device"/> + <deny receive_sender="org.bluez.Device"/> + + <deny send_destination="org.bluez.Service"/> + <deny receive_sender="org.bluez.Service"/> </policy> </busconfig> |