Nils Renaud created GROOVY-12414:
------------------------------------
Summary: Run groovy scripts in a sandboxed mode
Key: GROOVY-12414
URL: https://issues.apache.org/jira/browse/GROOVY-12414
Project: Groovy
Issue Type: New Feature
Reporter: Nils Renaud
I own an application extensible through Groovy scripts and 99% of my users only
have to take an object as input, perform some transformations and return
another object.
They don't need to access the fileSystem, nor execute commands on the machine,
nor access the network (for example).
Would you consider adding an option to the `GroovyScriptEngine` to block such
potentially dangerous calls ?
We could even set a custom `FileSystem` implementation as the only accessible
one from the script to introduce finer access rules.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)