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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>23907</bug_id>
          
          <creation_ts>2009-02-11 17:30:12 -0800</creation_ts>
          <short_desc>Implement X-Frame-Options</short_desc>
          <delta_ts>2011-08-02 02:36:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://blogs.msdn.com/ie/archive/2009/01/27/ie8-security-part-vii-clickjacking-defenses.aspx</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Barth">abarth</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>peaceable_whale</cc>
    
    <cc>sam</cc>
    
    <cc>spamfagos</cc>
    
    <cc>steffen.weber</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>109400</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-02-11 17:30:12 -0800</bug_when>
    <thetext>We should implement X-Frame-Options to help sites defend against ClickJacking.  Here is a blog post describing the feature:

http://blogs.msdn.com/ie/archive/2009/01/27/ie8-security-part-vii-clickjacking-defenses.aspx

I&apos;m not sure this completely solves the ClickJacking problem, but it certainly does more good than harm.  I can ask Eric Lawrence for a more detailed design doc if we want to make sure we match IE&apos;s behavior.

Here is the Mozilla bug on this topic:

https://bugzilla.mozilla.org/show_bug.cgi?id=475530

dveditz seems similarly positively disposed to implementing this feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117267</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-04-12 14:09:34 -0700</bug_when>
    <thetext>This seems to be done in http://trac.webkit.org/changeset/42333</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117269</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2009-04-12 14:26:08 -0700</bug_when>
    <thetext>Indeed.  I didn&apos;t remember this bug when I implemented it.  My bad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>445138</commentid>
    <comment_count>3</comment_count>
    <who name="">spamfagos</who>
    <bug_when>2011-08-02 00:58:17 -0700</bug_when>
    <thetext>The current implementation of X-Frame-Options is not complete!
IE8+ also supports ALLOW-FROM origin:
http://blogs.msdn.com/b/ieinternals/archive/2010/03/30/combating-clickjacking-with-x-frame-options.aspx
Are there are plans to implement this in webkit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>445169</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-08-02 02:36:35 -0700</bug_when>
    <thetext>X-Frame-Options is currently working its way though the IETF.  I expect we&apos;ll implement whatever the final standard says, but it&apos;s not entirely clear what that will be at the moment.  Thanks for your interest.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>