Closed
Description
If I wanted to "lockdown" the Lua thread running so that it only had access to a select number of files that are predetermined or determined by an outside source how would I go about doing so?
I can't seem to find any functions that would allow this behavior so the only course of action I can see is replacing loRequire
with something else (reassigning that global) and removing the load*
series and dofile
methods.
Do you have a clean way to do this other than what my thoughts are?
Also, secondary, but you don't provide any examples of LUserData
on the README, perhaps add some? As I become more familiar with this library, if you haven't done them already I'll see about doing it to help out.