lua-users home
lua-l archive

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


In article <372d6f6a0807171449h1954dd71hc43eb38e7af1148@mail.gmail.com>,
   Patrick Donnelly <batrick.donnelly@gmail.com> wrote:
> I made a sandbox for safe execution in IRC (about as hostile as it
> gets). It has worked very well. I don't think it will suit your
> purposes but there are many things you could learn from it.

> http://www.unm.edu/~batrick/files/sandbox.lua

Thank you very much, I think I need some time to go through this but it
seems to be quite helpfull.

> I recommend running user code in a coroutine. 

Yes, this I have already implemented to some extend. That means it works
but neads to be protected now in a sandbox.

Michael

-- 
...using RiscLua 4.14, built from Lua 5.1.3