tarantool / try

try.tarantool.org scripts
Other
3 stars 4 forks source link

Add sandboxing #4

Closed kostja closed 9 years ago

kostja commented 9 years ago

To make some people less mad, sandbox the container: Add this:

os.execute = nil os.exit = nil os.rename = nil os.tmpname = nil os.remove = nil io = nil require = nil package = nil

to: https://github.com/tarantool/try/blob/master/try/container/container.lua

check that tutorial still works.

rtsisyk commented 9 years ago

I also banned fio and socket.