As the title suggests, what would be the scope of the code loaded using loadstring or dofile? One of the issues at the moment with lua is the easy decompilation, so if there were techniques used to circumvent this, what would be the scope of the code block (compiled bytecode) loaded in this way?
Comments
One way to thwart Lua decompilation is to put some of the code in a native plugin.
My apps: http://www.yummyyellow.com
@Magnusviri Also a simple plugin can be used to load encrypted lua files. (e.g. through a loadencryptedfile function)