Hi,

I'm new to Rhino and I've got two questions where until now I haven't found a 
solution for:

1. Is it possible to restrict the access to Java objects or classes from a 
script? E.g. if I don't want to let script developers doing something like "var 
buf = new java.lang.StringBuffer ();". Could I configure the engine with a 
white or black list or do I have to implement it via an own derived class from 
org.mozilla.javascript.SecurityController?

2. Is it possible to access the syntax tree of a parsed script? E.g. for 
generating XML transforming it via XSLT to a documentation?

Many thanks in advance,
Axel
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to