This is your friend: http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html?q=sandbox Shriram