[Zope] Re: import of "PythonScript" is unauthorized

Evan Simpson evan at 4-am.com
Fri Nov 7 15:51:46 EST 2003


Dmitrij Repp wrote:
> At attempt of import 
> 
> import PythonScript 

> Error Type: ImportError
> Error Value: import of "PythonScript" is unauthorized

There is no top-level module called "PythonScript".  The Script import 
machinery says that import is unauthorized rather than telling you it 
can't find the module in order to prevent information leakage to 
untrusted code (i.e. probing to see what modules are installed).

Cheers,

Evan @ 4-am





More information about the Zope mailing list