skip to main content
Using the Driver : Required Permissions for Java Platform : Granting Access to Temporary Files
  

Try DataDirect Drivers Now

Granting Access to Temporary Files

Access to the temporary directory specified by the JVM configuration must be granted in the Java SE security policy file to use insensitive scrollable cursors or to perform client-side sorting of DatabaseMetaData result sets. The following example shows permissions that have been granted for the C:\TEMP directory:
grant codeBase "file:/install_dir/lib/-" {
// Permission to create and delete temporary files.
// Adjust the temporary directory for your environment.
   permission java.io.FilePermission "C:\\TEMP\\-", "read,write,delete";
};
where:
install_dir
is the product installation directory.