I can't seem to find a way to, for example, lock down Lua's file IO functions,
That is easy, compile lua.dll without the file/io extension :)
Or undefine io io = nil; but you have to disable require('io'); with require = nil ...
It doesn't matter much which API you use, you setup your lua sandbox, then call runcode $userinput -- read/combine these :)
In reply to Re^3: Avoiding Greenspun's Rule; scripting within Perl
by Anonymous Monk
in thread Avoiding Greenspun's Rule; scripting within Perl
by rlucas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |