Creating a customized sandbox in node.js (Can only read in a certain directory, and cannot write anywhere) -


i trying make application runs submitted scripts, , try sandbox submitted scripts. scripts need able able read in directory (and in of subdirectories), shouldn't able write @ all, and, other being able read, should not able not done in browser (ie download files using http). how go doing this?

i don't think node has capability built in, should able run "unsandboxed" node on *nix operating system severely restricted user (might possible in other oses too, i'm not sure). might want @ node's vm module.


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -