Add deny own in default context
authorilho kim <ilho159.kim@samsung.com>
Thu, 28 Mar 2024 19:53:56 +0000 (04:53 +0900)
committerilho kim <ilho159.kim@samsung.com>
Thu, 28 Mar 2024 19:59:58 +0000 (04:59 +0900)
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
benchmark/server/dbus/rpc-port-benchmark.conf

index 43c9b55..8d52620 100644 (file)
@@ -3,9 +3,11 @@
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 
 <busconfig>
+       <policy user="root">
+               <allow own="tizen.appfw.rpcport.benchmark.dbus"/>
+       </policy>
        <policy context="default">
-               <allow own="tizen.appfw.rpcport.benchmark.dbus" />
-               <allow send_destination="tizen.appfw.rpcport.benchmark.dbus"
-     send_interface="tizen.appfw.rpcport.benchmark.dbus" send_type="method_call" />
+               <deny own="tizen.appfw.rpcport.benchmark.dbus"/>
+               <deny send_destination="tizen.appfw.rpcport.benchmark.dbus"/>
        </policy>
 </busconfig>