1/** dbo 2 permissions 3*/ 4grant 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 ";}; 14grant user "jbu" { 15permission com.sun.star.security.RuntimePermission "JBU"; 16permission 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;}; 19 20// granted to anyone 21 grant 22{ 23 // read out this file 24 permission com.sun.star.io.FilePermission "../../test/security/test_security.policy", 25 "read"; 26 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 } ; 36 37# eof