This is a nice recipe. Are these security guards v300 specific? There is more to say in this recipe: one can prevent 'dangerous' functions from being executed by evaluating the code in a namespace that doesn't include the functions in question. -- NoelWelsh - 09 Dec 2004
Moved this recipe to DynamicChapter. Please help move other related recipes out of IdiomChapter and into DynamicChapter. -- NoelWelsh - 15 Apr 2005
You might also like to try to white-list the allowed functions. I've been using the following code. I don't know if there's some clever way to fool this, but it should allow finer control of the untrusted code. Please post any corrections.