1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

xframe denied - no iframe embedding?

Discussion in 'Troubleshooting and Problems' started by 0xym0r0n, Apr 9, 2013.

  1. 0xym0r0n

    0xym0r0n Well-Known Member

    My 1.1.3 version of XF will allow me to use iframe to embed an external or local website, but 1.1.4 will not.

    Example you can create a test.html file

    Code:
    <iframe src="http://www.xenforo.com/community/"></iframe>
    will result in a blank iframe because xframe is denied.

    I'm unsure of how to adjust the headers I read somewhere about using
    Code:
    header('X-Frame-Options: GOFORIT'); 
    but that doesn't seem to be working... I've probably not inserted that in the wrong area or it's being overwritten and I'm not sure where....
     
  2. 0xym0r0n

    0xym0r0n Well-Known Member

    Found my answer... lol I really need to not post questions anymore...
    >.> search clickjacking here and you'll find your answer
     
  3. Strong

    Strong Member

    I've been racking my head over this. clickjacking is over my head. How did you correct this?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Strong

    Strong Member

    Thank you Brogan. I did get to that, but it is isn't working. I tried the true and false flags, rebuild cache for good measure, and still no luck either way. There must be something else keeping me from successfully making an iframe page node.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    The clickjacking option in config.php is with regards to embedding XenForo in an iframe.
     
  7. Strong

    Strong Member

    ahhh.. I'm barking up the wrong tree I see. lol Nothing out of the norm for me! lol Thanks man.
     

Share This Page