Am Mittwoch, 25. Mai 2005 07:09 schrieb Mark McKay:
> I'd like to use Jython as a scripting language for an editor I'm writing
> in Java. This editor loads, modifies and saves XML files. I want to
> provide the ability to write macros to automate editor processes.
> However, I want to prevent these macros from accessing the filesystem or
> the network. Is there a way to do this?
Use the java-security model. I'm not sure how to do so for different parts of
an application differently - but regardless of that it's a java thing. Jython
has no services for this whatsoever.