[rfc][icedtea-web] Temporary permissions
Andrew Azores
aazores at redhat.com
Mon Mar 24 15:55:51 UTC 2014
Hi,
This patch adds new menu items to the new popup menu where PolicyEditor
can be launched. These new items make it possible to run the current
applet sandboxed, but with some additional permissions added, without
having to actually launch PolicyEditor and configure the permissions.
These permissions are also temporary, as opposed to making a custom
policy, which persists until you remove the policy.
Right now the permission set defined is just the sum of the permissions
PolicyEditor can grant via its checkboxes, and the two options added are
No File Access and No Network Access, which are just that full set minus
a few. I'd appreciate input on what other temporary permission options
could be made available.
Anyone have ideas on making the popup menu disappear nicely, rather than
adding a setVisible call on it to every action listener we have? And I
suppose it should also be forced to disappear when the dialog is
disposed as well. What's the best practice for that?
Thanks,
--
Andrew A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temporary-permissions.patch
Type: text/x-patch
Size: 15147 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140324/945adc1d/temporary-permissions.patch>
More information about the distro-pkg-dev
mailing list