When running within an application or application server with a Java 2 Security Manager enabled, Derby must be granted certain permissions to execute and access database files.
For more information about permissions and examples of creating permission objects and granting permissions, see the Security Architecture specification at http://download.oracle.com/javase/1.4.2/docs/guide/security/PolicyFiles.html.