there is the vm module  in the core API http://nodejs.org/api/vm.html

you can create new sandboxes and control them to some extent

Am Donnerstag, 31. Juli 2014 16:00:29 UTC+2 schrieb Norman Paniagua:
>
> Hi, I've a dilema, recently I was create a simple BaaS, it works fine, its 
> build with koa and node 0.11 with harmony flags, but don't know how to 
> build a system that let users upload their Nodejs scripts (not full apps, 
> just simple javascript triggers for the database, like before save and 
> after save) but how can I build a sandbox so the script only access the 
> resources that I provide and not the entire server.
>
> I was thinking this maybe its not all related to Nodejs but also to 
> virtualising environments with something like docker or similar, but if 
> there is a pure Nodejs way I want to know.
>
> Regards
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/bcf0d179-6ecf-4d4f-b0a8-3c56c11743df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to