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... Sean ========================= Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 sean.upton@uniontrib.com =========================
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
participants (2)
-
Brian Lloyd -
sean.upton@uniontrib.com