Permissions for Establishing Connections
- Last Updated: December 3, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
To establish a connection to the database server, the drivers must be granted the permissions as shown in the following example:
grant codeBase "file:/install_dir/lib/51/-" {
permission java.net.SocketPermission "*", "connect";
};
where install_dir is the product installation directory.
If Microsoft SQL Server named instances are used, permission must be granted for the listen and accept actions as shown in the following example:
grant codeBase "file:/
install_dir
/lib/51/-" {
permission java.net.SocketPermission "*", "listen, connect, accept";
};
where install_dir is the product installation directory.