|
Patrick Donnelly wrote:
I'm trying to make a sandbox that will contain getfenv. Unfortunately this function can be used to gain access to the global environment pretty easily (where things like the io library and os library would be found).... Some things I've thought of is add all the Lua functions I want in wrapper functions. This seems arduous and inelegant though.
Maybe remove io and os from the global environment.