3 ms·
A much simpler thing to do is to simply disable all of the standard library functions which allow i/o. Lua has functionality specifically intended for limiting
by plorkyeran 6y ago
A much simpler thing to do is to simply disable all of the standard library functions which allow i/o. Lua has functionality specifically intended for limiting the environment available to a script, and the standard library is small enough that doing this is actually practical.
- memexy 6y agoI remember playing around with Lua but didn't look too closely at sandboxing facilities but what you say makes sense.