[Zope3-dev] Global Module Security

Stephan Richter stephan.richter at tufts.edu
Fri Jan 30 18:24:36 EST 2004


On Friday 30 January 2004 08:33, Stephan Richter wrote:
> On Thursday 29 January 2004 22:04, Casey Duncan wrote:
> > Yeah, but how about:
> >
> > import time
> > '''
> > <html>
> >   <body>
> >     <h1>
> > '''
> > print time.asctime()
> > '''
> >     </h1>
> >   </body>
> > </html>
> > '''
>
> That would very easy too, if you write a content type handling this type of
> syntax. But it should be **really** easy to do. Just put a print in front
> of the opening triple quote (as part of the script) and send it to the
> restricted Python interpreter. I would say that will take about 1-2 hours
> to implement.

In fact so easy, that I just did it. <evil grin> See the pythonpage product. 
Very simple.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-dev mailing list