Re: draft-ietf-http-state-mgmt-01.txt LAST CALL
|In several places we made a point to prevent a cookie from being
|shared across multiple domains.  For example, a client rejects a cookie
|if the request-host (the server just contacted) does not domain-match
|the Domain attribute.  (Section 4.3.2.  Also see section 8.2)  The
|issue was privacy, and the intent was to avoid leaking cookies away
|from the intended domain.

Default policy is for the client not to send a cookie unless there was an 
exact match between the cookie's and the request's domain/path pairs, so 
leaking is an error in any case.  If multiple domains were permitted, a 
client would only send a cookie if there were an exact match between the 
URI at hand the one of the set of domain and path pairs associated with 
the cookie.  Sharing would be possible only when there were multiple domains 
in the Set-Cookie header.  Sharing with permission is OK, but leaking is bad.

As for an application, say that we are providing a single point of access
for a collection of electronic journals from multiple publishers or 
aggregators where we have a site license with each organization.  We could 
issue a cookie (after authenticating locally) valid for our local domain 
and for cooperating domains serving up content under license.  Those sites 
would decode our cookie and use it in access control and logging.

A successful authenticated GET of would return 
a pointer to a page of links to journals and the following cookie:

Set-Cookie: Site-License="UCSF:D3F5W($5N9VQA;F0@4&]T"; Version="1"; \
            Domain=""; Domain="" \
            Domain=""; Domain="";  \
            Domain=""; Domain="" \
            Domain="" ... 
Dereferencing any of those links would cause the appropriate Cookie to be 

Cookie:     Site-License="UCSF:D3F5W($5N9VQA;F0@4&]T"; Version="1"; \

Cookie:     Site-License="UCSF:D3F5W($5N9VQA;F0@4&]T"; Version="1"; \

I could see applications where one would want multiple domains OR paths, 
but there are problems with associativity in mixing multiple domains AND 
paths in the same cookie.  


Received on Friday, 14 June 1996 09:03:25 UTC