W3C home > Mailing lists > Public > public-webappsec@w3.org > February 2015

Re: An HTTP->HTTPS upgrading strawman. (was Re: Upgrade mixed content URLs through HTTP header)

From: Mike West <mkwst@google.com>
Date: Thu, 5 Feb 2015 08:28:14 +0100
Message-ID: <CAKXHy=e6TeeT7PkPi9b3apeEfR3+-oCWGispHgVL=virCDwV4w@mail.gmail.com>
To: Peter Eckersley <pde@eff.org>
Cc: Anne van Kesteren <annevk@annevk.nl>, Ryan Sleevi <sleevi@google.com>, "Eduardo' Vela" <evn@google.com>, Wendy Seltzer <wseltzer@w3.org>, Adam Langley <agl@google.com>, WebAppSec WG <public-webappsec@w3.org>
On Thu, Feb 5, 2015 at 12:14 AM, Peter Eckersley <pde@eff.org> wrote:

> Unfortunately, I think that does mean that both HSTS and the proposed new
> CSP upgrade flag should have the overlapping effect of upgrading
> navigational HTTP requests to the domains that set them.

Isn't this problem dealt with relatively well via simple redirects?

Yes, redirects can be MitM'd, and pinning would solve that. If you wish to
avoid that problem, asking for "strict transport security" seems like the
right thing to do. Watering down the meaning of that term might increase
adoption to some extent, but I'm not sure it's worth the complexity.

If you're really unhappy about that overlap in functionality, WDYT about
> implementing the exact same "Pretty Secure For New Clients" state as a
> "Helpful" or "Easy" directive to the HSTS header, rather than a new CSP
> directive?

I'm not at all dogmatic about where what should be. It's worth talking to
IETF folks in https://tools.ietf.org/wg/websec/ to see if there's interest
in extending HSTS in this way, and if that's a better place for the
functionality, then let's throw away this upgrade strawman.

That said, upgrading a set of links for a specific page, without upgrading
those links for all other pages on the net, seems like a better fit for CSP
than for HSTS, and seems like it solves the main thrust of the mixed
content problem you outlined in

Mike West <mkwst@google.com>, @mikewest

Google Germany GmbH, Dienerstrasse 12, 80331 München,
Germany, Registergericht und -nummer: Hamburg, HRB 86891, Sitz der
Gesellschaft: Hamburg, Geschäftsführer: Graham Law, Christine Elizabeth
(Sorry; I'm legally required to add this exciting detail to emails. Bleh.)
Received on Thursday, 5 February 2015 07:29:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:10 UTC