In the construct of the Lua class the following is called
luaL_openlibs(L);
This loads all available lua libs. I want to be able to not load the OS and IO lib because I'm trying to create a secure sandbox to run third party code that should not be able to access anything else than the PHP methods I expose.
Could you create a way to limit the Lua modules to load?
In the construct of the Lua class the following is called
luaL_openlibs(L);
This loads all available lua libs. I want to be able to not load the OS and IO lib because I'm trying to create a secure sandbox to run third party code that should not be able to access anything else than the PHP methods I expose.
Could you create a way to limit the Lua modules to load?