-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sandboxing for this project #125
Comments
I recommend reading http://lua-users.org/wiki/SandBoxes . A basic idea is to provide a "safe" 1 environment table for the code to execute in (either with Footnotes
|
Hi, I'm currently testing out this library and was wondering how I could call |
@Curve
|
@gudzpoz Thanks for the fast reply! I'm familiar with the Lua C-API and already got it working by using reflection, I was just wondering because the natives are not exposed to the end-user which seemed a little odd to me - maybe the lua c-functions should be public in the natives class (i.e. make them public in a |
IMO because almost of method inside the Lua class are just wrapper for native and it doesn't makes lots of difference between direct call to Lua-C function or calling via interface |
@Curve LuaJava |
Nice to hear, thanks a lot! |
Hello! First of all, that's a great project and docs, thanks!
And I have a question regarding sandboxing. Do you have any instructions/examples about running of untested Lua code with this lib?
The text was updated successfully, but these errors were encountered: