1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/dbms/tdbms/11335579.txt Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,30 @@
1.4 +;
1.5 +; This security policy file is used by the DBMS security tests.
1.6 +; There are 5 different DBMS tests:
1.7 +; (1) - A test application with capabilities, which satisfy database's schema security policy.
1.8 +; (2) - A test application with capabilities, which satisfy database's write security policy.
1.9 +; (3) - A test application with capabilities, which satisfy read security policy of table "A".
1.10 +; (4) - A test application with capabilities, which satisfy write security policy of table "B", although they cannot satisfy (UID: WRITE) policy.
1.11 +; (5) - A test application without capabilities.
1.12 +;
1.13 +[database]
1.14 +read
1.15 +capability = None
1.16 +write
1.17 +capability = WriteUserData
1.18 +schema
1.19 +capability = NetworkServices
1.20 +
1.21 +[table]
1.22 +name = A
1.23 +read
1.24 +capability = PowerMgmt
1.25 +
1.26 +[table]
1.27 +name = B
1.28 +write
1.29 +capability = WriteDeviceData
1.30 +
1.31 +;Table C
1.32 +; It has explicitly specified security policies, so the database R/W security policies
1.33 +; will be used when table C is accessed.