lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Friday, July 12, 2002, at 09:38  AM, Nick Trout wrote:
N.B. I've currently disabled the "lua" button since there are security
issues with running arbitary Lua scripts on the server obviously. I'm
currently looking into ways of dealing with this. I'm not a unix expert so
any help and thoughts on the matter gratefully received.

I would think tacking the following to the front of each script:

system = nil
read = nil
write = nil
dofile = nil
(other file operations)

should do it.
Also, you'll probably want to kill each script after a fixed period of time or memory usage.

Cheers,
Steve