Hello, i'm making a node.js public sandbox, something like codepad for 
Javascript. I'm running a VM with debian and i call node via ssh sendind 
the script to be ran. The problems i'm having is that i've tried the 
Sandbox module, but it doesn't allow for node modules or functions. I want 
to whitelist modules and add custom ones. What i plan to do is scan the 
user script for "requires( something) " and only allow the whitelisted 
modules.
Can someone hint me on the chrooting of this? Will it be enough?
Thanks

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to