<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7032</bug_id>
          
          <creation_ts>2009-06-17 21:02:30 +0000</creation_ts>
          <short_desc>Sandboxing and Referer</short_desc>
          <delta_ts>2010-10-04 14:55:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NoReply</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25595</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2009-06-17 21:02:30 +0000</bug_when>
    <thetext>The Referer header should probably be affected in a sandboxed &lt;iframe&gt; that have the sandboxed origin browsing context flag set.

Depending on what HTTPbis does it might need to about:blank (I think).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25596</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-06-17 22:36:59 +0000</bug_when>
    <thetext>why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25598</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">w3c</who>
    <bug_when>2009-06-18 00:50:34 +0000</bug_when>
    <thetext>I think the thought process goes like this:

Premise 1) Referer can be used as a credential.
Premise 2) Sandboxed iframes should&apos;t get the credentials of their origin (e.g., they get some unique origin).
-------------
Conclusion: Sandboxed iframes shouldn&apos;t get a Referer.

Do you disagree with one of the premises?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25600</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-06-18 07:46:32 +0000</bug_when>
    <thetext>I disagree with the first premise, and with the implication that the referrer is necessarily related to the origin.

I think I&apos;m also confused with what refererrs we&apos;re talking about here. The original one for the page load during navigation? Subsequent ones for sub resources? Referrers for further navigations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25612</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">w3c</who>
    <bug_when>2009-06-19 00:21:33 +0000</bug_when>
    <thetext>[reordered]

&gt; I think I&apos;m also confused with what refererrs we&apos;re talking about here. The
&gt; original one for the page load during navigation?

Nope.

&gt; Subsequent ones for sub resources? Referrers for further navigations?

Yes.  What one might call the &quot;outgoing referrer&quot; for the page.

&gt; I disagree with the first premise, and with the implication that the referrer
&gt; is necessarily related to the origin.

I think that&apos;s a reasonable position.  I&apos;ll let others who feel more strongly about this issue express their points of view.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25615</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2009-06-19 08:41:10 +0000</bug_when>
    <thetext>(FWIW, the others would be Tyler Close and Mark S. Miller both not cc&apos;ed on this bug.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25691</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-06-26 09:15:48 +0000</bug_when>
    <thetext>I intend to WONTFIX this unless further information can be provided to explain why Referrer information for internal references to external resources within a sandboxed iframe should be dropped. It seems bad to have a context that is referrer-free; it would make it impossible, for instance, for a site to referrer-protect their images against third-party sites if those images are used in any sandboxed frame within the site itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33122</commentid>
    <comment_count>7</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:48:17 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>