Evan Simpson writes:
From: Dan L. Pierson <dan@sol.control.com>
Does this work for any module or just a semi-safe subset?
How are submodules handled? Just put the full path in the ModuleSecurityInfo call? Can you grant permissions for all children of a parent module (scary!)?
http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/GuardedImport
I looked there. It says something about how import restrictions will be implemented but nothing at all about what the limitations will be or what the syntax for interacting with the restriction mechanism will be. For example, your email is the only reference I can find to ModuleSecurityInfo.
...is a good place to start learning about this. Any module can be made available -- it's up to the Zope administrator (or Product author) to decide what they can safely expose, under what terms.
That seems reasonable.