-
Notifications
You must be signed in to change notification settings - Fork 653
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
How to limit access to filesystem? #27
Comments
Sandboxing in Lua has been discussed on web from a while before.
Ok, I will write about |
Thanks for the quick reply, I'll check those links. Thanks for this library too! 👍 |
I wrote it down here. |
Thanks for the information, I'll close this issue since you've provided a response to everything! |
If I wanted to "lockdown" the Lua thread running so that it only had access to a select number of files that are predetermined or determined by an outside source how would I go about doing so?
I can't seem to find any functions that would allow this behavior so the only course of action I can see is replacing
loRequire
with something else (reassigning that global) and removing theload*
series anddofile
methods.Do you have a clean way to do this other than what my thoughts are?
Also, secondary, but you don't provide any examples of
LUserData
on the README, perhaps add some? As I become more familiar with this library, if you haven't done them already I'll see about doing it to help out.The text was updated successfully, but these errors were encountered: