[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Avoiding viruses?
- From: Stefan Sandberg <keffo.sandberg@...>
- Date: Mon, 30 Jul 2007 19:30:04 +0200
google: lua sandbox
I'm making a game that uses Lua for most of its functions. I'm making
it so that users can create their own levels/weapons/vehicles/modes in
Lua, but what if they put viruses in the script?
What are some tips to avoid this problem? I can't disable file I/O
because, for example, the maps might need to load text terrains. Maybe
there's a way to only allow the script to load files from a certain
Anything else I should know about this?