logo       

Re: Restricting permissions: msg#00062

lang.jython.user

Subject: Re: Restricting permissions

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.

Regards,

Diez


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise