neolithos / neolua

A Lua implementation for the Dynamic Language Runtime (DLR).
https://neolua.codeplex.com/
Apache License 2.0
463 stars 75 forks source link

Creating a sandboxed environment? #187

Open ghost opened 3 months ago

ghost commented 3 months ago

How can you create a sandboxed environment in Lua? E.g. they do not have access to require/import/dofile and do not have access to CLR and other .NET features or file system.

Falkitop commented 3 months ago

CLR can be disabled as well as just removing the members in the luagloblas