3 ms·
While you're right about the binary loadstring issue, that lua-users page is way overly paranoid. The best Lua sandboxing implementation I know of is the one Wi
by josephcsible 5y ago
While you're right about the binary loadstring issue, that lua-users page is way overly paranoid. The best Lua sandboxing implementation I know of is the one Wikipedia uses, and it allows a lot of what's "unsafe" there.
- adamc 5y agoNot really usually to call something "overly paranoid" without going into why you think their evaluation is wrong.
- tedunangst 5y agoThe page is trying to build a sandbox where a lua script can eval other untrusted lua code within the same lua execution environment. Many, even most?, people are only interested in isolating the host application from the lua environment.
- josephcsible 5y agoBecause there's ways to build safe sandboxes that allow untrusted code to use a bunch of things that it calls unsafe.