From: Michael Gernoth Date: Sat, 21 Aug 2010 12:44:48 +0000 (+0200) Subject: use policy-file for applet to allow remote-storage X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/commitdiff_plain/5c99fed3e4c39ecb4ae9bd72805c411966ffdb4a use policy-file for applet to allow remote-storage --- diff --git a/applet.policy b/applet.policy new file mode 100644 index 0000000..07499e7 --- /dev/null +++ b/applet.policy @@ -0,0 +1,3 @@ +grant { + permission java.security.AllPermission; +}; diff --git a/rsbs2.pl b/rsbs2.pl index 022a949..c835c0d 100755 --- a/rsbs2.pl +++ b/rsbs2.pl @@ -477,7 +477,7 @@ sub status { sub spawn_gui { my $base = shift; - open(APPLET,"|appletviewer /dev/stdin"); + open(APPLET,"|appletviewer -J-Djava.security.policy=applet.policy /dev/stdin"); print APPLET 'RSB S2 User Interface'; print APPLET ''; print APPLET '';