lua-users home
lua-l archive

Re: Simple Lua for scripts

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


Rici Lake wrote:
...
It is perhaps slightly surprising that sandboxing Lua is quite simple, compared with other scripting languages. I hope that this feature will continue to receive high priority as the Lua packaging system develops.
Speaking of which, has anyone done any work on a "sandboxed" version of the os library? Something that constrains what the user can do to a set of directories or a set of restrictive permissions, or even one that prevents writing entirely. If this were a drop-in replacement for the os library, it could help a lot with this sort of sandboxing.
--
chris marrin ,"",ドル
chris@marrin.com b` $ ,,.
 mP b' , 1$'
 ,.` ,b` ,` :$$'
 ,|` mP ,` ,mm
 ,b" b" ,` ,mm m$$ ,m ,`P$$
 m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :1ドル
 b$` ,$: :,`` |$$ ,` $$` ,|` ,$,,ドル`"$$ .` :$|
b$| _m$`,:` :1ドル ,` ,$Pm|` ` :$,ドル..;"' |$:
P$b, _;b$$b1ドル" |$$ ,` ,$$" ``' $$
 ```"```'" `"` `""` ""` ,P`
"As a general rule,don't solve puzzles that open portals to Hell"'

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