Disable arbitrary Java Execution in LUA #196
Replies: 1 comment
-
You might want to read #125 (comment) and the linked article (lua-users wiki: Sand Boxes) first. Precautions from the article:
Instead of disabling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, first of all, great, interesting project, is it possible to disable the
java.import()
, and all those which allows any lua script to run any arbitrary java?.My use case is to use luajava as a sandbox for a safe plugins system, so then I define some lua functions that invoke java code such as
Where do_something() would call a Java Code that I defined, but the plugin can NOT do something like
Thanks in advance 🍷
Beta Was this translation helpful? Give feedback.
All reactions