Groovy scripts and JVM Security
Groovy is a very cool dynamic language for the JVM. Because it runs on the JVM, it also has the great security features as well. Let's see how we can run trusted code and allow a dynamic (possibly user defined) script to execute with limited permissions. We will also see how the script can call functions in our trusted code and how we can elevate privileges to allow the untrusted script to get access to trusted data....