From: Adam B. <sir...@ya...> - 2001-05-02 06:18:02
|
On a related note, is there any way to take advantage of the java security system to make (untrusted) python code run in an environment similar to that given to applets? That is, no access to the disk drive, etc. I'm sure I'm not the only one using jython as an unrtusted extension language... having security guarantees would be magnifique. Adam --- Tait Larson <ta...@we...> wrote: > I'm experimenting with building a jython interpreter > into our java > platform. The our java platform implements the > business logic of a web > application. > > I'd like to restrict the jython interpreter so that > it can only > directly access specific classes currently available > in the running > jvm. I could then build a web front end to the > PythonInterpreter class > and have a powerful and -- with a well written api > -- a safe scripting > interface to our platform. > > How can I restrict the java classes which the > PythonInterpreter class' > exec and eval methods recognize. > > Thanks, > > Tait > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ |