Examples of Java security policy files for embedded Derby
This section provides several examples of security policy
files.
Java security policy file example 1
This security policy file grants permission to run Derby and access all databases under the Derby system home when it is specified by the system property derby.system.home.
Java security policy file example 2
This security policy file grants permission to run Derby and access all databases under the Derby system home when it defaults to the current directory.
Java security policy file example 3
This security policy file grants permission to run Derby and access a single database (salesdb) under the Derby system home.