diff --git a/source/net/filebot/format/SecureCompiledScript.java b/source/net/filebot/format/SecureCompiledScript.java index 3f9c10ce..8a39c358 100644 --- a/source/net/filebot/format/SecureCompiledScript.java +++ b/source/net/filebot/format/SecureCompiledScript.java @@ -42,8 +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 AWTPermission("setWindowAlwaysOnTop")); + permissions.add(new AWTPermission("*")); permissions.add(new FilePermission("<>", "read")); permissions.add(new SocketPermission("*", "connect")); permissions.add(new PropertyPermission("*", "read"));