[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Loose sandbox
- From: "Ruan Kendall" <shearwater+lua@...>
- Date: Thu, 17 Jul 2008 20:23:11 +0100
I shall heartily recommend it. I just stole most of the useful bits of
venv.lua for my own purposes... we were doing similar things, only the
way venv does it sucks far less ;-)
On Thu, Jul 17, 2008 at 7:36 PM, Michael Gerbracht <email@example.com> wrote:
> Hi Tomas,
> On 17 Jul, Tomas Guisasola Gorham <firstname.lastname@example.org> wrote:
>> > I am writing a program where an external user script is loaded and
>> > executed. Therefore it is AFAIK good practice to implement a sandbox which
>> > restricts the user to use only a certain set of functions. Still I would
>> > like to enable the user to use most of Lua's functions and restrict only
>> > those functions which would enable the user to break the sandbox and e.g.
>> > access _G.
>> Have you checked VEnv (http://www.keplerproject.org/venv/)?
> No, but thanks, I will look at it.