W3C home > Mailing lists > Public > public-webappsec@w3.org > March 2013

RE: webappsec-ISSUE-45 ('top-only'): Is 'top-only' worth preserving? [UI Security]

From: David Ross <dross@microsoft.com>
Date: Tue, 12 Mar 2013 20:33:45 +0000
To: Anne van Kesteren <annevk@annevk.nl>, "Hill, Brad" <bhill@paypal-inc.com>
CC: Ian Melven <imelven@mozilla.com>, Tobias Gondrom <tobias.gondrom@gondrom.org>, "public-webappsec@w3.org" <public-webappsec@w3.org>
Message-ID: <a020ed227e6d440d931e393741c2674e@SN2PR03MB047.namprd03.prod.outlook.com>
X-FRAME-OPTIONS was designed around the idea that users make trust decisions based on the top level trust UI – they simply cannot make a reasonable trust decision about specific unmarked rectangles (frames) that may exist on the page.

The introduction of the sandbox attribute changed the model to enable sites to safely host fully arbitrary, untrusted content in frames.  This change to the model created demand for the suggested ancestor walk.

IMO, we should avoid breaking sites that still subscribe to the old model by keeping the top-only option intact.  However I do agree that top-only should not be the default in CSP UI.

David Ross
dross@microsoft.com


-----Original Message-----
From: annevankesteren@gmail.com [mailto:annevankesteren@gmail.com] On Behalf Of Anne van Kesteren
Sent: Tuesday, March 12, 2013 7:09 AM
To: Hill, Brad
Cc: Ian Melven; Tobias Gondrom; public-webappsec@w3.org
Subject: Re: webappsec-ISSUE-45 ('top-only'): Is 'top-only' worth preserving? [UI Security]

On Tue, Mar 12, 2013 at 2:03 PM, Hill, Brad <bhill@paypal-inc.com> wrote:
> [Hill, Brad] That's covered in
>
> https://dvcs.w3.org/hg/user-interface-safety/raw-file/0475e30847bf/use

> r-interface-safety.html
>
> but I would certainly appreciate comments to make the behavior more explicit if you feel such is necessary.

I would expect MUST, not SHOULD. I would also expect that to result from following a set of rules. E.g.

1. If the CSP header is present and contains X, do ...

2. Otherwise, if the CSP header does not contain X, run these substeps:

2.1 If there's a X-Frame-Options header, do ...

To make it completely unambiguous what is expected from implementations.


--
http://annevankesteren.nl/




Received on Tuesday, 12 March 2013 20:35:47 UTC

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