[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: how to restrict lua syntax for files to be loaded
- From: Sergey Naumov <sknaumov@...>
- Date: Mon, 26 Mar 2012 23:54:24 +0400
Hello.
I am new to lua and I want to ask whether it is able to restrict lua
syntax in files to be loaded to prevent them to contain some malicious
constructs like "while 1 do end". I know that config should be loaded
in jail, but is there a way to allow only tables, assignments and
strings in a file to be loaded as lua script?
If not then may be it is worth to introduce such functionality?
Thanks in advance,
Sergey Naumov.