[Zope] re module & through the web security
Bill Anderson
bill@libc.org
Wed, 06 Sep 2000 20:59:06 -0600
Evan Simpson wrote:
>
> 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.
Now THAT! Rocks!
--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.