celeron55/minetest — pull request #495 by sapier (2013-02-18 00:02:19+00:00)
Title: security hardening v2 -- preserving (some) os and io functionality

Another approach to improve minetest mod security. This includes security without changing semantics for safe functions. Calling unsafe functions or trying to open files out of allowed folders will cause minetest to abort execution of lua mod.

Main Changes:
*disallow dofile to files outside of current moddir
*disallow opening files not within world or user folder
*disable lots of dangerous functions in os and io
*disable loading of binary lua modules