Add default deny policy in conf files
[platform/core/connectivity/bluetooth-agent.git] / hf-agent / bluetooth-hf-agent.conf.in
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3 <busconfig>
4     <policy context="default">
5         <deny own="org.bluez.hf_agent"/>
6         <deny receive_sender="org.bluez.hf_agent"/>
7         <deny send_destination="org.bluez.hf_agent"/>
8         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="AnswerCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
9         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="TerminateCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
10         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="InitiateCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
11         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="ReleaseAndAccept" privilege="http://tizen.org/privilege/bluetooth.admin" />
12         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="CallSwap" privilege="http://tizen.org/privilege/bluetooth.admin" />
13         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="ReleaseAllCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
14         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="JoinCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
15         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="VoiceRecognition" privilege="http://tizen.org/privilege/bluetooth.admin" />
16         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="ScoDisconnect" privilege="http://tizen.org/privilege/bluetooth.admin" />
17         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="SpeakerGain" privilege="http://tizen.org/privilege/bluetooth.admin" />
18         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="SendDtmf" privilege="http://tizen.org/privilege/bluetooth.admin" />
19     </policy>
20     <policy group="pulse">
21             <allow receive_interface="org.tizen.HfApp"/>
22             <allow send_interface="org.tizen.HfApp"/>
23     </policy>
24     <policy group="network_fw">
25             <allow own="org.bluez.hf_agent"/>
26             <allow receive_sender="org.bluez.hf_agent"/>
27             <allow send_destination="org.bluez.hf_agent"/>
28     </policy>
29 </busconfig>