Re: Restricted parsing for static config files / more granular `load()` options for 5.4
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Restricted parsing for static config files / more granular `load()` options for 5.4
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2017年3月12日 16:25:51 -0300
> TLDR: just like we can disable bytecode loading, we should be able to
> disable certain language constructs, creating fully sandboxed configs
You can disable most keywords with a token filter in C or ltokenp.
See also http://lua-users.org/lists/lua-l/2014-03/msg00449.html .