Gabriele *darkbard* Farina wrote: > The first attempt to reach my goal was to override the __import__ > function to limit it working on modules that can be used and on custom > import directories that can be accessed. Then I executed the scripts > using exec. There is any security problem related to this solution ?
This won't work. Creating a secure restricted execution environment is very hard. FYI, there is an ongoing discussion on python-dev about a new attempt at something like rexec for python 2.6+. [sreeram;]
signature.asc
Description: OpenPGP digital signature
-- http://mail.python.org/mailman/listinfo/python-list