|
|
||
|
Hi Michael
I am writing a program where an external user script is loaded and executed. Therefore it is AFAIK good practice to implement a sandbox which restricts the user to use only a certain set of functions. Still I would like to enable the user to use most of Lua's functions and restrict only those functions which would enable the user to break the sandbox and e.g. access _G.
Have you checked VEnv (http://www.keplerproject.org/venv/)? Tomás