[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA 4.x - filesystem access limit?
- From: Ando Sonenblick <ando@...>
- Date: Sat, 27 Sep 2003 15:23:11 -0700
The approach I would (and will when I'm at the same point you are) take, is to entirely not use lua's io library and create my own.
It's pretty easy to wrap the lua calls around c calls (and in my case, much more sophisticated file access: save/load resources, etc) and it affords you complete flexibility and control...
ando
On Wednesday, September 24, 2003, at 04:22 AM, Zdenek Stangl wrote:
Hi,
Im using lua 4 in my server appz and I would like to limit filesystem access to a scope of certain directory only(i.e. the server appz root directory). Right now anybody can access whole filesystem tree from scripts.
Any suggestion or idea welcomed :)
Zdenek.
-----------------------
Ando Sonenblick
SpriTec Software
www.spritec.com