Sandbox mode


john@...
 

What config options would you recommend for putting TT into "sandbox mode" ? I'm considering using TT as a language for running simple un-trusted scripts which are provided by users. As such, I need to prevent access to installed cpan modules, raw perl, use statements, file system access, and network access. I only want them to have access to data and functions which I explicitly pass to TT when I run the template.