[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Making a secure sandbox containing getfenv()
- From: David Manura <dm.lua@...>
- Date: Fri, 09 Nov 2007 22:02:02 -0500
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
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.