[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    Re: [Zope-dev] Security still wierd
From:       "Michael R. Bernstein" <webmaven () lvcm ! com>
Date:       2001-07-31 21:26:42
[Download RAW message or body]

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.


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic