Re: WebDAV problem uploading in Plone 4 with a password

dieter <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
dieter <[email protected]> writes:
> Andrew Daviel <[email protected]> writes:
> ...
>> ...
>> This used to work. WebDAV is built into Plone

I might have a workaround for you.

WebDAV access is controlled by its own permission ("WebDAV access").
Its default permission to role setting is "Authenticated Manager", i.e.
by default WebDAV can only be used after an authentication. And
in this case, you likely do not see the problem you are observing,
as you get a 401 response well before the type validity check.

I am quite sure that the kind by which the type validity is checked
("type in allowedTypes") has not changed recently. Likely, it has
always been done this way. Therefore, when you report that "it used to work",
something else might have been different - e.g. the permission
to role mapping for "WebDAV access".


Note: Beside its proper commands (e.g. "PROPFIND"), "WebDAV" uses also commands
defined by basic HTTP commands ("GET", "POST", "PUT"). The special
"WebDAV access" permission protects only the proper "WebDAV" commands.
Thus, should "WebDAV access" require authentication but you still see
your problem, then this may mean that your WebDAV client does not
issue a proper "WebDAV" command before the "PUT" or that it violates the
HTTP 1.1 recommendation to pass on authentication information
automatically when the HTTP client has observed that a previous request
for the site has required authentication.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.