db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "KillDerbyTestHarness" by DanDebrunner
Date Fri, 18 Aug 2006 04:33:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:
http://wiki.apache.org/db-derby/KillDerbyTestHarness

------------------------------------------------------------------------------
  It would be good to have some up-front policy about how folders are used, to provide consistency
and help with good security manager testing.
  See [http://issues.apache.org/jira/browse/DERBY-1656 DERBY-1656].
  
+ 
+ ''' {{{ ${derby.system.home} }}} '''
+ Access only given to derby.jar/derbynet.jar, derbytools should not be
+ reading files in the system home, derbytesting should only be able to
+ access limited files, such as derby.log and derby.properties. The value
+ of derby.system.home must not fall under any of the following folders,
+ e.g. for the default case ${user.dir}/dsh would be good.
+ 
+ ''' {{{ ${user.dir}/databases }}} '''
+ All databases created under this folder when derby.system.home is not
+ set, access would only be granted to derby.jar
+ 
+ ''' {{{ ${user.dir}/extin,extout,extinout }}} '''
+ Access granted as today
+ 
+ ''' {{{ ${user.dir}/tests }}} '''
+ Folder test scripts, fail logs etc. permissions granted to
+ derbytesting, maybe derbytools but not derby.jar & derbynet.jar 
+ 
+    || Subfolders || Use||
+    || fail  ||  information from failed tests ?||
+    || tmp   || temp files ||
+ 
+ ''' {{{ ${user.dir}/policy }}} '''
+ Security manager policy files when they need to be written to the file system.
+ An unmodified policy file can be used directly from the URL to it as a resource.
+ 

Mime
View raw message