Re: [websec] Richard Barnes' Discuss on draft-ietf-websec-x-frame-options-09: (with DISCUSS and COMMENT)

Barry Leiba <barryleiba@computer.org> Sun, 18 August 2013 05:58 UTC

Return-Path: <barryleiba@gmail.com>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5F8A11E824F; Sat, 17 Aug 2013 22:58:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.953
X-Spam-Level:
X-Spam-Status: No, score=-101.953 tagged_above=-999 required=5 tests=[AWL=0.024, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HWuQvw+CEz3E; Sat, 17 Aug 2013 22:58:57 -0700 (PDT)
Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by ietfa.amsl.com (Postfix) with ESMTP id 0EB5211E821E; Sat, 17 Aug 2013 22:58:55 -0700 (PDT)
Received: by mail-qa0-f49.google.com with SMTP id cr7so1253027qab.8 for <multiple recipients>; Sat, 17 Aug 2013 22:58:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=iWNp1J3/Bvk50ikGIcHPk0EOmUuxoOvzQSdaalzJ1TQ=; b=djZz08z+7jK4U+MDb4dy+10elwJKhGDJep1Rh/zJOHJ0tk/h+W9qfv/8jNo6UuDGZf 53QMS5xEA7s1stvnoyu4vFm/KoQvRtP7EWT5CZNdsEvswXnaplIKvNVK16NvuAvBigpu sWIDnqPVEXzpYpu5+KRqe3FQO3GmI6g5QcAMR2oaG7LJRjzPckFjMoN/8snsEC0WWGLv gG95j0JUscfMePQslwqpg8C5Hn6NAjEPq4q8qLL9wX+v+hPwcWuyb+T4Dz9wsEgAR5qk L4Glf7nQbhOqgYNhZjxKqTwcfn+G8GP4o97/mpbUr6L4kRDrxKyPDzsy6fObXr5oRW+c e9Bw==
MIME-Version: 1.0
X-Received: by 10.49.35.51 with SMTP id e19mr7135021qej.16.1376805533392; Sat, 17 Aug 2013 22:58:53 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.224.59.211 with HTTP; Sat, 17 Aug 2013 22:58:53 -0700 (PDT)
In-Reply-To: <520FFD18.2010008@gondrom.org>
References: <20130815014121.17800.33179.idtracker@ietfa.amsl.com> <520FFD18.2010008@gondrom.org>
Date: Sun, 18 Aug 2013 01:58:53 -0400
X-Google-Sender-Auth: hmJe1fxZQxZgcIXS8whHmWeQttw
Message-ID: <CALaySJJLJyHL8ZiWcgqO8n-MdHrkdJ3XRni7Axb4NSLkh2_v6A@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Tobias Gondrom <tobias.gondrom@gondrom.org>
Content-Type: multipart/alternative; boundary="047d7b5d533abe414104e432849d"
Cc: "draft-ietf-websec-x-frame-options@tools.ietf.org" <draft-ietf-websec-x-frame-options@tools.ietf.org>, "websec@ietf.org" <websec@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "websec-chairs@tools.ietf.org" <websec-chairs@tools.ietf.org>
Subject: Re: [websec] Richard Barnes' Discuss on draft-ietf-websec-x-frame-options-09: (with DISCUSS and COMMENT)
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Sun, 18 Aug 2013 05:58:57 -0000

>
> > (D2) It seems like this is a value that browsers might cache, to avoid
> > unnecessary requests if the same page is framed in the future.  If this
> > is something browsers do today, please say so.
>
> Actually I like to push back in this case, as I don't think we should go
> into implementation specific details that have no effect on the bits on
> the wire nor on the effective behavior of the browser.
> The X-Frame-Options header determines the behaviour for every individual
> requested page regarding framing in another web page in the browser.
> Whether the browser caches this information and compares the request
> with an existing cache from a request from before AND if the value is
> identical proceeds as before or whether the browser evaluates the
> X-Frame-Options header on each request should not be specified in this
> draft.


 I'll note also that this is particularly the case because this is
documenting something that exists, but that isn't recommended for
implementation.  If this were a PS that we were recommending for new
implementations, it might make more sense to talk about how to do caching
for better implementations.

Barry