I am completely new to lua (not to programming) and also to this
community, so hello everyone :-).
Welcome, Nathan.
Surely someone more versed on sandboxes will pop soon, but in the meantime, you can search the archives of the mailing list for "sandboxing", because that is an issue that gets regularly discussed.