groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirco <mirch...@gmail.com>
Subject Sanboxing Groovy code
Date Sat, 01 Apr 2017 10:08:32 GMT
Hi all,
I have the necessity to execute scripts in a safe sandbox with the usual
requirements of preventing the execution of potentially dangerous code and
restrict access to some resources.

What is the current "state of the art" for such scenario right now? Is
there some recommended strategy/library?

My current implementation is based on (but adapted to my needs) the
excellent blog post by Cédric Champeau ("Improved sandboxing of Groovy
scripts") and so far it seems to work nicely since the static compiling
requirement is a good compromise for my case.
Unfortunatly the code snippets are inside a blog with a "Creative Commons
by-nc-sa" license that for what I know is incompatible with my GPLv3
license.
@Cédric is there any chance to release the last two code snippets under a
GPL-friendly license? Even in a github gist would be great!

Any suggestions are appreciated.

Thank you

Mirco

Mime
View raw message