[Zope3-dev] Global Module Security

Casey Duncan casey at zope.com
Thu Jan 29 22:04:38 EST 2004


On Thu, 29 Jan 2004 19:27:35 -0500
Stephan Richter <stephan.richter at tufts.edu> wrote:

> Hi all,
> 
> I just checked in a ZCML file with global module security
> declarations. Now the following code works, for example:
> 
> <html>
>   <body>
>     <h1>
>       <script type="text/server-python">
>         import time
>         print time.asctime()
>       </script> 
>     </h1>
>   </body>
> </html>
> 
> The file can be found at src/zope/app/security/globalmodules.zcml.

Yeah, but how about:

import time
'''
<html>
  <body>
    <h1>
'''
print time.asctime()
'''
    </h1>
  </body>
</html>
'''

mix-it-anyway-you-want-it-still-muck-to-me-ly yr's,

-Casey



More information about the Zope3-dev mailing list