lua-users home
lua-l archive

RE: LUA 4.x - filesystem access limit?

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


Then I will parse the path and cutoff all preceeding '..\\'
-----Original Message-----
From: Erik Hougaard [mailto:erik@hougaard.com]
Sent: Wednesday, September 24, 2003 2:11 PM
To: Lua list
Subject: Re: LUA 4.x - filesystem access limit?
P.Gertman@informgaz.gazprom.ru wrote:
>--what about such a redefine:
> -- redefine `readfrom'
> function readfrom (name)
> return %readfrom(some_root_path..name) -- call the original `readfrom' with root path prepended to a name
> end
>
> 
>
This problem is that readfrom("...\\...\\..\\documents and 
settings\\eh\\NTUSER.DAT") will still work ..
/Erik

AltStyle によって変換されたページ (->オリジナル) /