[websec] Decouple HSTS's two orthogonal effects?
Matt McCutchen <matt@mattmccutchen.net> Thu, 24 March 2011 03:45 UTC
Return-Path: <matt@mattmccutchen.net>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E5E7D3A67E1 for <websec@core3.amsl.com>; Wed, 23 Mar 2011 20:45:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5W6yyzSWM7+z for <websec@core3.amsl.com>; Wed, 23 Mar 2011 20:45:03 -0700 (PDT)
Received: from homiemail-a5.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by core3.amsl.com (Postfix) with ESMTP id DD4113A67DF for <websec@ietf.org>; Wed, 23 Mar 2011 20:45:03 -0700 (PDT)
Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 62B6670406E for <websec@ietf.org>; Wed, 23 Mar 2011 20:46:38 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=mattmccutchen.net; h=subject:from :to:content-type:date:message-id:mime-version: content-transfer-encoding; q=dns; s=mattmccutchen.net; b=W68aajb bto9BNK662zt028LdHYrzLIxfHb/GMQeOW47fxyA2p5BLCgY4xMtLVgS9nVlpI28 t0Yb5pYxyzeLxYEYanmd09u/mt67CXWSvhyS4roeVNbVDh3INK+y2A9bCUIg42wT fhL3YbhYsSy8WGCMP+zWDztcnvQECkwINr1U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mattmccutchen.net; h= subject:from:to:content-type:date:message-id:mime-version: content-transfer-encoding; s=mattmccutchen.net; bh=I+6w/LI/eA9ta 5pBu7URG2AKBeY=; b=LWYe6q+exeaT8bWwNhaTWxu/nUomkx6dDUgaBp70XRyla 87b3HllJtjDSALNdMugUb8Eto7UZ9p4BnSUHqReIicWEYo3D/QcxhIxzpWRrd+yf QCj+tUwwQBkoT16zP3hGuOm8f/eldctdhBDgP7HRHC3e+H2gZUMSJ16uYDnm2Q=
Received: from [192.168.1.40] (pool-96-231-2-98.washdc.east.verizon.net [96.231.2.98]) (Authenticated sender: matt@mattmccutchen.net) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPA id 0F4A5704063 for <websec@ietf.org>; Wed, 23 Mar 2011 20:46:37 -0700 (PDT)
From: Matt McCutchen <matt@mattmccutchen.net>
To: websec@ietf.org
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 23 Mar 2011 23:46:36 -0400
Message-ID: <1300938396.2117.235.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.3
Content-Transfer-Encoding: 7bit
Subject: [websec] Decouple HSTS's two orthogonal effects?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Mar 2011 03:45:07 -0000
HSTS as currently specified has two effects on browser behavior: 1. Redirecting all requests to https 2. Preventing the user from accepting bad certificates These are completely orthogonal; it's just that webmasters who like transport security often want both. There are some use cases for having one effect without the other: 1 without 2: Prevent cookie forcing (http://scarybeastsecurity.blogspot.com/2008/11/cookie-forcing.html) without breaking users who choose to disable all the default CAs and accept server certificates individually. These are the considerations I would apply to my personal web site. 2 without 1: Keep https requests secure while some requests continue to go unencrypted for performance. (An alternative is to move the unencrypted resources to a subdomain.) I don't find either of these cases extremely compelling, but it may be worth decoupling the two effects in accordance with general design principles. -- Matt
- [websec] Decouple HSTS's two orthogonal effects? Matt McCutchen
- Re: [websec] Decouple HSTS's two orthogonal effec… Tom Ritter
- Re: [websec] Decouple HSTS's two orthogonal effec… Devdatta Akhawe
- Re: [websec] Decouple HSTS's two orthogonal effec… Tobias Gondrom
- Re: [websec] Decouple HSTS's two orthogonal effec… =JeffH
- Re: [websec] Decouple HSTS's two orthogonal effec… Daniel Kahn Gillmor
- Re: [websec] Decouple HSTS's two orthogonal effec… Yoav Nir
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Tom Ritter
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Daniel Kahn Gillmor
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Phillip Hallam-Baker