lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sun, Sep 11, 2011 at 03:49, Axel Kittenberger <> wrote:
>> It makes all of your metatable entries readable
> In Lua you cannot sandbox a metatable away. An offending script still
> might just call getmetatable.

I think you can. In your sandbox make sure to set
    getmetatable = nil
    setmetatable = nil
    debug = nil