[Zope-dev] use of exec in products considered harmful?

Jonothan Farr jfarr@real.com
Mon, 13 Mar 2000 12:32:05 -0800


> Would something like the Brains class that can be set for SQL methods
> do the job?

Brains classes always have the same constructor arguments (namely: (self)). What
makes this problem difficult is that the constructors of Zope objects which map
to local files can have virtually any signature.

Image(id, id, data)
DTMLMethod(data, __name__=id)
???(???)

I really need help with this. I don't want to create a huge security risk but I
really want to add this feature.

-jfarr

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi! I'm a signature virus.
Copy me into your .sig to join the fun!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~