From: ara.t.howard@... Date: 2005-12-09T00:17:20+09:00 Subject: Re: code execution from file? On Thu, 8 Dec 2005, ako... wrote: > putting aside security issues i think i was able to isolate my > environment and pass only desired variables in to the code. i create a > temporary module and evaluate my code in its context. then i remove > this module (that is why i needed the external module A, i could not > figure out how to remove a module otherwise). experts, does this look > feasible? i do not know though what to do to ensure security... this still leaves things like Object in scope. to truely isolate yourself you'll need to fork a process that does all the work. -a -- =============================================================================== | ara [dot] t [dot] howard [at] noaa [dot] gov | all happiness comes from the desire for others to be happy. all misery | comes from the desire for oneself to be happy. | -- bodhicaryavatara ===============================================================================