469,352 Members | 1,656 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

jailed javascript engine ?

Is there any implementation of the javascript engine that can be run
in a jailed environement?

Thanks.
Jul 23 '05 #1
4 1036
Lu**@Jazz.it wrote:
Is there any implementation of the javascript engine that can be run
in a jailed environement?


Define that.
PointedEars
Jul 23 '05 #2
I mean a standalone implementation of javascript which would be made to operate within a fixed directory, period.

No possibility to get out to create temporary files, symbolic links to files outside this directory; no possibility for example, to set cookies outside either.

No possibility to get called from within a browser which could afterwards create/manipulate files outside of that environment.

OK. Maybe (not default) could be configured to do so... ;)

Thomas 'PointedEars' Lahn <Po*********@web.de> wrote:
Lu**@Jazz.it wrote:
Is there any implementation of the javascript engine that can be run
in a jailed environement?

Define that.
PointedEars

Jul 23 '05 #3
In article <MmzSc.3669$jZ5.2014@clgrps13>, Lu**@Jazz.it wrote:
I mean a standalone implementation of javascript which would be made to
operate within a fixed directory, period.


mozilla.org offers two open source version of a JavaScript interpreter.
SpiderMonkey is the code-name for the Mozilla's C implementation of
JavaScript. See:

http://www.mozilla.org/js/spidermonkey/
Rhino is an open-source implementation of JavaScript written entirely in
Java. See:

http://www.mozilla.org/rhino/

Robert
Jul 23 '05 #4
I knew that.

But that means go through the source and maybe modify the code so as to achieve
what I want.

Just wanted to know if anybody had done it so far.

Wouldn't be surprising in regard of the numerous exploits using javascript.

Robert <rc*******@my-deja.com> wrote:
In article <MmzSc.3669$jZ5.2014@clgrps13>, Lu**@Jazz.it wrote:
I mean a standalone implementation of javascript which would be made to
operate within a fixed directory, period.

mozilla.org offers two open source version of a JavaScript interpreter.
SpiderMonkey is the code-name for the Mozilla's C implementation of
JavaScript. See: http://www.mozilla.org/js/spidermonkey/
Rhino is an open-source implementation of JavaScript written entirely in
Java. See: http://www.mozilla.org/rhino/

Robert

Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Rob Fentress | last post: by
3 posts views Thread by Bob | last post: by
3 posts views Thread by Stephen Kellett | last post: by
8 posts views Thread by shannon | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.