diff options
author | Omair Majid <[email protected]> | 2011-03-02 11:50:30 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2011-03-02 11:50:30 -0500 |
commit | 6d523c8c11ffa7913ca1b0836d51f163ba3e268e (patch) | |
tree | d9438b14c37afb75a3692f77b5078632f1a4ed14 | |
parent | 7560f6cf836b6fccf72b9715447189caf2501570 (diff) |
Fix PR612: NetDania application ends on java.security.AccessControlException
NetDania application ends on java.security.AccessControlException: access
denied (java.util.PropertyPermission browser read). Grant untrusted applets
and applications access to "browser" and "broser.*" system properties.
2011-03-02 Omair Majid <[email protected]>
Fix PR612.
* NEWS: Update with fix.
* netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for
browser and browser.* to sandboxPermissions.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/SecurityDesc.java | 2 |
3 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2011-03-02 Omair Majid <[email protected]> + Fix PR612. + * NEWS: Update with fix. + * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for + browser and browser.* to sandboxPermissions. + +2011-03-02 Omair Majid <[email protected]> + * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (handleSetCommand): Fix warning message. * netx/net/sourceforge/jnlp/resources/Messages.properties: Add @@ -20,6 +20,8 @@ New in release 1.1 (2011-XX-XX): * NetX - Use Firefox's proxy settings if possible - RH669942: javaws fails to download version/packed files (missing support for jnlp.packEnabled and jnlp.versionEnabled) +* Plugin + - PR612: NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read) New in release 1.0 (2010-XX-XX): diff --git a/netx/net/sourceforge/jnlp/SecurityDesc.java b/netx/net/sourceforge/jnlp/SecurityDesc.java index ee5ea5f..f044237 100644 --- a/netx/net/sourceforge/jnlp/SecurityDesc.java +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java @@ -109,6 +109,8 @@ public class SecurityDesc { new PropertyPermission("javaplugin.*", "read"), new PropertyPermission("jnlp.*", "read,write"), new PropertyPermission("javaws.*", "read,write"), + new PropertyPermission("browser", "read"), + new PropertyPermission("browser.*", "read"), new RuntimePermission("exitVM"), new RuntimePermission("stopThread"), // disabled because we can't at this time prevent an |