Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / stoc / test / security / test_security.policy
blob93c2571f712244a228daffa8b720460e1a81e1f6
1 /** dbo
2     permissions
3 */
4 grant user "dbo"{
5       permission com.sun.star.io.FilePermission "file:///home/dbo/-", ",,read , write ";
6       permission com.sun.star.io.FilePermission "-", "read ,write";
7       permission com.sun.star.connection.SocketPermission "dbo-1:1024-", "listen";
8         permission com.sun.star.security.RuntimePermission "DBO";
9       permission com.sun.star.connection.SocketPermission "dbo-11081:-1023", "resolve";
10       permission com.sun.star.connection.SocketPermission "dbo-11081:18", "listen";
11       permission com.sun.star.connection.SocketPermission "dbo-11081:20-24", "listen";
12       permission com.sun.star.connection.SocketPermission "dbo-11081", "connect";
13       permission com.sun.star.io.FilePermission "file:///usr/local/dbo/*" , "read ";};
14 grant user "jbu" {
15 permission com.sun.star.security.RuntimePermission "JBU";
16 permission com.sun.star.io.FilePermission  "file:///home/jbu/-" ,"read,write,";
17 /*jbu resolve*/permission com.sun.star.connection.SocketPermission "jbu-11096","resolve";
18  permission com.sun.star.io.FilePermission "*",",read,write";}; grant user "root"{permission com.sun.star.security.AllPermission;};
20 // granted to anyone
21  grant
23         // read out this file
24         permission com.sun.star.io.FilePermission "../../test/security/test_security.policy",
25                                                   "read";
27         permission com.sun.star.security.RuntimePermission "DEF";
28         permission com.sun.star.io.FilePermission "file:///usr/bin/*", "read";
29         permission com.sun.star.io.FilePermission "file:///usr/bin/*", "read";
30         permission com.sun.star.io.FilePermission "file:///tmp/-", "read, write";
31         permission com.sun.star.io.FilePermission "file:///etc/profile", "read,,";
32         permission com.sun.star.connection.SocketPermission "127.0.0.1:-1023", "resolve, connect, listen";
33         permission com.sun.star.connection.SocketPermission "localhost:1024-", "accept, connect, listen, resolve,";
34         permission com.sun.star.connection.SocketPermission "*.sun.com:1024-", "resolve";
35  } ;
37 # eof