8154189: Deprivilege java.sql and java.sql.rowset module
Reviewed-by: alanb, mchung
This commit is contained in:
parent
9f834231d5
commit
8e7633221f
@ -33,6 +33,14 @@ grant codeBase "jrt:/jdk.crypto.ucrypto" {
|
|||||||
permission java.io.FilePermission "${java.home}/conf/security/ucrypto-solaris.cfg", "read";
|
permission java.io.FilePermission "${java.home}/conf/security/ucrypto-solaris.cfg", "read";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
grant codeBase "jrt:/java.sql" {
|
||||||
|
permission java.security.AllPermission;
|
||||||
|
};
|
||||||
|
|
||||||
|
grant codeBase "jrt:/java.sql.rowset" {
|
||||||
|
permission java.security.AllPermission;
|
||||||
|
};
|
||||||
|
|
||||||
grant codeBase "jrt:/jdk.crypto.ec" {
|
grant codeBase "jrt:/jdk.crypto.ec" {
|
||||||
permission java.lang.RuntimePermission "accessClassInPackage.sun.security.*";
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.security.*";
|
||||||
permission java.lang.RuntimePermission "loadLibrary.sunec";
|
permission java.lang.RuntimePermission "loadLibrary.sunec";
|
||||||
|
Loading…
Reference in New Issue
Block a user