Possible Duplicates:
How can I limit lua possibilities (calling OS functions, modules, etc.)
How can I create a secure Lua sandbox?
luaL_openlibs(m_pState);
I use this function to load all the libs.I would like to skip all the dangerous libs like IO but I just cant find any documentation on how to disable a lib.
How do I disable certain libs? Are there more dangerous libs that can gain the script access to the system?