This section discusses which permissions should be granted to Derby (the code base derby.jar).
See Default Policy Implementation and Policy File Syntax at http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html for more information about creating policy files.
permission java.io.FilePermission "${derby.system.home}/-", "read,write,delete";This allows the Derby engine complete access to the system directory and any databases contained in the system directory.