Add samplesandboxed.lua script to demonstrate sandboxing in lua.

This commit is contained in:
James Roseborough
2015-04-11 23:36:48 +00:00
parent b16c521f40
commit 7f5d052faa
3 changed files with 118 additions and 2 deletions

View File

@@ -7,7 +7,8 @@ import org.luaj.vm2.lib.jse.*;
* in a server environment.
*
* <p>Although this sandboxing is done primarily in Java here, these
* same techniques should all be possible directly from lua using metatables.
* same techniques should all be possible directly from lua using metatables,
* and examples are shown in examples/lua/samplesandboxed.lua.
*
* <p> The main goals of this sandbox are:
* <ul>