[Zope-dev] Security still wierd

Michael R. Bernstein webmaven@lvcm.com
31 Jul 2001 14:26:42 -0700


On 31 Jul 2001 21:36:53 +0200, Dieter Maurer wrote:
> Michael R. Bernstein writes:
>  > ...
>  > Supposedly, setting __allow_access_to_unprotected_subobjects__ = 0
>  > inside your class will return the behaviour to the default (access not
>  > explicitly allowed is denied), but this doesn't seem to work for me.
>
> It should work.

I know, <sigh>.
 
> Maybe "initializeClass" overwrites it again.
> Try to set it after the "initializeClass":
> 
>     initializeClass(klass)
>     klass.__allow_access_to_unprotected_subobjects__ = 0

Thanks for the suggestion, but that still isn't it. Would you like to
take a look at my code?

Michael Bernstein.