[Zope] re module & through the web security

Evan Simpson evan@4-am.com
Wed, 6 Sep 2000 11:16:39 -0400

From: Chris Withers <chrisw@nipltd.com>
> One of Zope's key strengths is its granular security, right?
> So why isn't it the reponsibility of the site
> designer/maintainer/owner/whatever to ensure that only people he trusts
> have the ability to write DTML?

Fear not.  In the brand new shiny PythonMethods Product coming soon
(really!) to a Zope near you, you will have the ability to say:

ModuleSecurityInfo('re').protect('compile', 'Use the "re" module')

...and suddenly anyone to whom you grant 'Use the "re" module' permission
will be able to 'from re import compile' in their Python Methods.  Anyone
else will be able to 'import re', but not access any of its contents.


Evan @ digicool & 4-am