Add default deny policy in conf files
[platform/core/connectivity/bluetooth-agent.git] / bt-ipsp / bluetooth-frwk-ipsp.conf
index 40b9f11..7bd3ef5 100644 (file)
@@ -1,13 +1,14 @@
 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
-    <policy user="root">
-        <allow own="org.projectx.bt_ipsp"/>
-    </policy>
-    <policy at_console="true">
-        <allow send_destination="org.projectx.bt_ipsp" />
-    </policy>
     <policy context="default">
-        <allow send_destination="org.projectx.bt_ipsp" />
+        <deny own="org.projectx.bt_ipsp"/>
+        <deny receive_sender="org.projectx.bt_ipsp"/>
+        <deny send_destination="org.projectx.bt_ipsp"/>
+    </policy>
+    <policy group="network_fw">
+        <allow own="org.projectx.bt_ipsp"/>
+        <allow receive_sender="org.projectx.bt_ipsp"/>
+        <allow send_destination="org.projectx.bt_ipsp"/>
     </policy>
 </busconfig>