[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Restricting file access
- From: Mark Hamburg <mhamburg@...>
- Date: Fri, 13 Jun 2003 10:03:46 -0700
Turn it around and manually export the functions you want to export.
Mark
on 6/13/03 1:06 AM, Enrico Colombini at erix@erix.it wrote:
> On Thursday 12 June 2003 22:51, Nick Trout wrote:
>> I disabled the "unsafe" functions by doing something like:
>> openfile = function() print("unsafe") end
>
> This works fine for statically linked code including the Lua interpreter, but
> could break when used with a resident Lua interpreter, if the latter is
> updated to a new version containing additional functions.
>
> Enrico
>