Re: WebDAV and write access discovery

>>>>> Steinar Bang <sb@metis.no>:

>>>>> "Clemm, Geoff" <gclemm@rational.com>:

>> When the ACL protocol is implemented, that would be the best way to
>> determine whether a resource is readonly.  If it is a Class 2 DAV
>> server, trying to get a write lock might be something to try,

> That was my next idea, also.

> After I have done a GET, immediately start a LOCK on the same
> resource, and then either UNLOCK the lock (to try to grab it again, if
> I ever wish to attempt a PUT), or let it time out (and refresh it
> before a PUT).

> Yet another approach would be to do a PROPFIND on the resource, to see
> if it has any locks.  Or aren't lock tokens listed as properties?
> (One tricky bit here would be to map from the HREF to the authenticated
> user, but presumably I would know what URL I set myself.)

> I wonder what eg. Word 2000 does?  Does it mark everything as R/W, and
> just PUT, and then report a failure?

This link would seem to indicate that a WebFolder Visual Basic(?) 
object can return the isWritable status of a WebFolder (which is a DAV
collection...?).

So the question is then: how does it discover the isWritable status.

Received on Thursday, 5 July 2001 02:44:42 UTC