W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2001

Re: WebDAV and write access discovery

From: Steinar Bang <sb@metis.no>
Date: Thu, 05 Jul 2001 08:44:35 +0200
To: w3c-dist-auth@w3.org
Message-ID: <m3elrvj2nm.fsf@viffer.computas.no>
>>>>> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:56 GMT