1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00

new AWTPermission("*")

This commit is contained in:
Reinhard Pointner 2016-11-24 16:28:40 +08:00
parent 839d2cc7b8
commit 3887213e1c

View File

@ -42,8 +42,7 @@ public class SecureCompiledScript extends CompiledScript {
permissions.add(new RuntimePermission("getFileSystemAttributes")); permissions.add(new RuntimePermission("getFileSystemAttributes"));
permissions.add(new RuntimePermission("readFileDescriptor")); permissions.add(new RuntimePermission("readFileDescriptor"));
permissions.add(new RuntimePermission("preferences")); permissions.add(new RuntimePermission("preferences"));
permissions.add(new AWTPermission("toolkitModality")); permissions.add(new AWTPermission("*"));
permissions.add(new AWTPermission("setWindowAlwaysOnTop"));
permissions.add(new FilePermission("<<ALL FILES>>", "read")); permissions.add(new FilePermission("<<ALL FILES>>", "read"));
permissions.add(new SocketPermission("*", "connect")); permissions.add(new SocketPermission("*", "connect"));
permissions.add(new PropertyPermission("*", "read")); permissions.add(new PropertyPermission("*", "read"));