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

XF 1.5 iframe?

#1
For mobile applications that need to use iframe.
Is hacked site?
Harmful?

I added this code config.php

$config['enableClickjackingProtection'] = false;
 

Brogan

XenForo moderator
Staff member
#2
That allows your site to be embedded in an iframe on other sites.

As it states on the help manual page:
When enabled, this option prevents clickjacking attacks by placing your forum in an iframe and tricking the user into clicking something. However, this can also disable valid uses of iframe embedding. Disable this only if you understand the implications.