Apply default deny in dbus configuration 71/174771/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.015821 accepted/tizen/unified/20180404.141034 submit/tizen/20180404.064114 submit/tizen/20180404.094637 submit/tizen_5.0/20181101.000003
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 4 Apr 2018 05:51:00 +0000 (14:51 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 4 Apr 2018 05:52:05 +0000 (14:52 +0900)
Change-Id: Ib0b36be18cc3f648940d1b18ba567a552621d8cc
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
packaging/org.tizen.SmartcardService.conf

index bb362bb..0bfd4c2 100644 (file)
@@ -2,7 +2,18 @@
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 
 <busconfig>
-       <policy context="default">
+       <policy user="root">
+               <allow own="org.tizen.SmartcardService"/>
+               <allow send_destination="org.tizen.SmartcardService"/>
+       </policy>
+       <policy user="network_fw">
                <allow own="org.tizen.SmartcardService"/>
+               <allow send_destination="org.tizen.SmartcardService"/>
+       </policy>
+       <policy context="default">
+               <deny own="org.tizen.SmartcardService"/>
+               <deny send_destination="org.tizen.SmartcardService"/>
+               <check own="org.tizen.SmartcardService" privilege="http://tizen.org/privilege/secureelement"/>
+               <check send_destination="org.tizen.SmartcardService" privilege="http://tizen.org/privilege/secureelement"/>
        </policy>
 </busconfig>