D
Daniel Pitts
I'd like to be able to control the interaction between my script and
the host Java environment. Most specifically, if I don't explicitly
allow something, it shouldn't be available to the script context.
Is there an easy-and-sure way to do that? Do I need to go through the
trouble of setting up a SecurityManager? Can I get away with a
"clever" Bindings implementation? I'm mostly interested in Rhino,
which comes shipped with the JDK 1.6, but if there is a general
approach, that'd be great too.
Thanks,
Daniel.
the host Java environment. Most specifically, if I don't explicitly
allow something, it shouldn't be available to the script context.
Is there an easy-and-sure way to do that? Do I need to go through the
trouble of setting up a SecurityManager? Can I get away with a
"clever" Bindings implementation? I'm mostly interested in Rhino,
which comes shipped with the JDK 1.6, but if there is a general
approach, that'd be great too.
Thanks,
Daniel.