Part of our java application needs to run javascript that is written by non-developers. These non-developers are using javascript for data formatting. (Simple logic and str
I just ran across this blog post that seems to be useful for sandboxing more or less anything (not just Rhino):
http://calumleslie.blogspot.com/2008/06/simple-jvm-sandboxing.html