Embedded Python Question

Peter Yu roger_callisto at hotmail.com
Wed Jan 3 11:24:53 EST 2001


Hello,

I've decided to do an environment that allows for Python scripts to run
in a specific directory with object-level file security.

RExec appears to be my best option.  So far, I've been able to change
the "root" directory of all file operations to the desired directory...
However, when I tried to add file access restrictions for specific
objects, I'm stumped -- Normally, I'd have used the call stack to
determine access privilages, but the call stack is unavailable inside
the RExec environment... Does anyone have any suggestions on what else I
could do?

Thanks in advance,
Peter


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list