Matthew Toseland wrote:

On Sun, Feb 23, 2003 at 12:48:35PM -0800, Ian Clarke wrote:


Well, I am not sure why this would be useful, but if we were to do it, the best bet might be BeanShell (www.beanshell.org) - this is actually pretty cool generally, those that don't know of it might be interested to take a look.

Another possibility would be SISC (sisc.sf.net). This is a Java scheme interpreter. It has the advantage that it was created by our very own Scott Miller.

Still, I really don't understand what this would be useful for.



We cannot allow javascript. The only scripting that can be done safely is server-side. Server-side scripting would allow what amount to dynamic web sites, for example search engines.


this is something that i would be thrilled to have (i'm a jsp & asp developer by trade) ... i was thinking that servlets/jsp's would be natural for obvious reasons. but i know nothing about sandboxing.




Ian.

On Sun, Feb 23, 2003 at 08:38:37PM +0000, Matthew Toseland wrote:


Sometime in the Freenet 0.5 series, it would be really useful to include
some form of scripting. I believe if we include the interpreter in
fproxy, or generally somewhere in the web interface code, and the code
can only call methods that we provide, we can make it reasonably safe.
So, we need some sort of virtual machine or interpreter that matches the
above conditions. Is there a suitable javascript interpreter (which is
license compatible with Freenet, so not Rhino)? Is there any possibility
of loading java bytecode into a running JVM and isolating it from all
methods except for one class that we provide? Anyone got code,
experience, ideas?
--
Matthew Toseland
[EMAIL PROTECTED]/[EMAIL PROTECTED]
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://0.0.0.0:8889/HPhwJMG1iEE/
ICTHUS.



--
Ian Clarke [EMAIL PROTECTED]|locut.us|cematics.com]
Latest Project http://locut.us/
Personal Homepage http://locut.us/ian/









--
____________________________________________________
independent u.s. drum'n'bass -- http://vitriolix.com





_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to