[Zope] WebDAV and ObjectManager

Brian Lloyd brian.lloyd@zope.com
Fri, 14 Dec 2001 16:06:03 -0500


> Is there a way to override an ObjectManager derived class as to not even
> show up (or, at the very least, not output its contents) in a 
> WebDAV or FTP
> session?  I have a BTreeFolder-derived object with 300,000+ 
> objects; I don't
> even want to think what might happen if someone tried to open this via
> WebDAV...

I'm 97% sure this will work... :^)

Try setting an attribute:

  __dav_collection__ = 0

...on your container object. This should short-circuit PROPFIND 
and other recursive-descent things that would otherwise dive in 
way over their head.

Hope this helps!


Brian Lloyd        brian@zope.com
Software Engineer  540.361.1716       
Zope Corporation   http://www.zope.com