W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2012

Re: HTTP without being HTTPS all the time

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Thu, 19 Jul 2012 20:28:58 +0000
To: Willy Tarreau <w@1wt.eu>
cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
Message-ID: <19055.1342729738@critter.freebsd.dk>
In message <20120719202349.GA19857@1wt.eu>, Willy Tarreau writes:

>The risk of loading insecure
>JS code during the HTTP phase which sets known cookies for the HTTPS
>phase for instance exists.

Only because cookies should never be used that way.  The only safe
cookies are signed identifying nonces, used to look up client/session
state in a database table on the server-side.

Storing information in cookies is plain wrong no matter what you are
trying to do security wise.

>for moderately complex sites, better be either all clear or all secure.

Dual-mode the way I described, seems much used in "regular"
web-commerce:  You don't need protection until you're willing to
fork over money.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Thursday, 19 July 2012 20:30:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC