W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 1999

RE: One lock per resource per person?

From: WJCarpenter <bill@carpenter.ORG>
Date: Fri, 15 Oct 1999 13:08:08 -0700
Message-ID: <4434-Fri15Oct1999130808-0700-bill@carpenter.ORG>
To: w3c-dist-auth@w3.org
ccjason> Lock tokens were invented to deal with the situation where
ccjason> the left hand and the right hand don't know what each other
ccjason> is doing.

Which reminds me of yet another locks-and-simplification issue....

RFC-2518 wants LOCK tokens to be universally unique.  Isn't it
actually sufficient that they be unique relative to the LOCKed
resource, kind of along the same lines as entity tags are unique?  

In fact, as an implementation choice (and imagining the spec didn't
explicitly prohibit it), if a server only supported exclusive write
LOCKs, couldn't a server choose to trust clients to do the right
thing, and use the string "button-button-you've-got-the-button"
for every LOCK token issued?
-- 
bill@carpenter.ORG   (WJCarpenter)           PGP
bill@bubblegum.net                    0x91865119
38 95 1B 69 C9 C6 3D 25  73 46 32 04 69 D6 ED F3
Received on Friday, 15 October 1999 16:08:54 GMT

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