lua-users home
lua-l archive

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


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.