skip to main content
Configuring Security for OpenAccess SDK : Required permissions for the Java 2 platform : Granting access to temporary files
 

Granting access to temporary files

Access to the temporary directory specified by the Java Virtual Machine configuration must be granted in the security policy file of the Java 2 Platform 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 JDBC Client installation directory.