xframe denied - no iframe embedding?

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....
 

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
 

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.
 

Brogan

XenForo moderator
Staff member
The clickjacking option in config.php is with regards to embedding XenForo in an iframe.
 

Strong

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