Restricted Access
iapain
iapain at gmail.com
Wed Jul 12 03:20:07 EDT 2006
> You'll need to make your own AccessControl/ZopeGuards.py-like module, and
> probably subclass the RestrictionMutator to enable/disable certain
> functionnality (interdiction of names beginning by '_' for example is hard
> coded).
Your reply is pretty hopeful, I saw that one, its the only fractional
part. I'm agree with others that I need to setup a safe runtime
enviornment rather than detecting harmful code.
> This should be possible by providing a wrapper function for file and open (see
> the Guards.py module).
Thats a nice idea, I guess it should work. I should try it really
quick! Thanks!
Best!
iapain
More information about the Python-list
mailing list