W3C

Edit comment LC-2032 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-2085 Next: LC-2033

Comment LC-2032
:
Commenter: casays <casays@yahoo.com>

or
Resolution status:

g) The guidelines rely upon a fundamentally flawed assumption:
in the HTTPS connection, the client is the only party concerned
with security, and which must take a decision as to whether to
access resources over a point-to-point or end-to-end link.

This is incorrect: there are actually two parties to the secure
connection, client and server, both with legitimate security
concerns. The server has thus as much a right to determine whether
it wants to provide services over a point-to-point connection
as the client. I can very well imagine that for instance
banking, electronic commerce or social networking application
servers may decide to sever point-to-point connections rather
than providing services over them, and inform the end-user
about the reasons.

Unfortunately, because of the flawed assumption of the guidelines,
there is strictly no way a server may reliably detect whether
it is communicating over a point-to-point link or not.

Consider:
i. The proxy rewrites links but the replacement links must have
HTTPS; hence for the server communication obviously takes place
over HTTPS.
ii. If the proxy preserves the HTTP header fields (such as
user-agent, accept, accept-charset, etc), which is actually
encouraged by the guidelines, then the proxy cannot detect
that transformations may be taking place.
iii. Further, the "via" HTTP header field does not constitute
a proper mechanism to detect the presence of a transformation
proxy, and whether HTTPS is point-to-point or end-to-end.
First, the comment "http://www.w3.org/ns/ct" indicating the
presence of a transformation proxy is not mandatory, as per
the guidelines. Secondly, RFC2616 authorizes proxies to use
a pseudonym instead of a domain name for the "received-by"
part of their hop, which does not necessarily have a meaning
for servers.

The server is therefore not in a position to take educated
decisions as to its secure communications with clients through
a transformation proxy.
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2032.html,v 1.1 2017/08/11 06:43:16 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org