mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 06:45:06 -05:00
new AWTPermission("toolkitModality")
This commit is contained in:
parent
9667d3d55c
commit
e362f22972
@ -1,5 +1,6 @@
|
||||
package net.filebot.format;
|
||||
|
||||
import java.awt.AWTPermission;
|
||||
import java.io.File;
|
||||
import java.io.FilePermission;
|
||||
import java.lang.management.ManagementPermission;
|
||||
@ -41,6 +42,7 @@ public class SecureCompiledScript extends CompiledScript {
|
||||
permissions.add(new RuntimePermission("getFileSystemAttributes"));
|
||||
permissions.add(new RuntimePermission("readFileDescriptor"));
|
||||
permissions.add(new RuntimePermission("preferences"));
|
||||
permissions.add(new AWTPermission("toolkitModality"));
|
||||
permissions.add(new FilePermission("<<ALL FILES>>", "read"));
|
||||
permissions.add(new SocketPermission("*", "connect"));
|
||||
permissions.add(new PropertyPermission("*", "read"));
|
||||
|
Loading…
Reference in New Issue
Block a user