go ahead... be a heretic | |
PerlMonks |
Re: Perl sandboxby Fletch (Bishop) |
on Nov 06, 2001 at 20:07 UTC ( [id://123601]=note: print w/replies, xml ) | Need Help?? |
You might could use B::Generate to muck about with the OP tree, but you'd be getting into very deep wizardry (not that you're in the kiddie pool with Safe to begin with :). Simpler might be to write a replacement open that disallows absolute paths and paths with `..' in them and only allow that sub to be called from the compartment.
In Section
Seekers of Perl Wisdom
|
|