When running within an application or application server with a Java 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://docs.oracle.com/javase/7/docs/technotes/guides/security/spec/security-spec.doc.html.