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 /netx/net/sourceforge | |
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.
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r-- | netx/net/sourceforge/jnlp/SecurityDesc.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 |