Security, Lua, and You - Page 3

Security, Lua, and You

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

incidenta5
Posts: 37
Joined: 15 Mar 2006, 00:40

Re: Security, Lua, and You

Post by incidenta5 »

danuker wrote:I'm on Linux. Linux rules.
[Though it might also be vulnerable.]
I don't see why scripts would be denied access to the file system. The trick is to make sure that there is a proper mechanism for pre-emption. This can be accomplished by removing or modifying the traditional file access API in Lua so that it respects a set of rules. For example, Lua should never be allowed outside its container (or above a certain directory in the path).

Running Spring under a different set of credentials isn't necessarily an ideal workaround since your introducing additional complexity for the end user.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Security, Lua, and You

Post by lurker »

Lua is restricted to the spring dir. (Except for dirlist, someone needs to fix that)
Post Reply

Return to “Engine”