I want to make a web service that run other people code locally... Naturally, I want to limit their code access to certain \"sandbox\" directory, and that they wont be able
Reading the codepad.org/about page might give you some cool ideas.
http://codepad.org/about