News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Embedding SMF Into My Website

Started by andsim, December 26, 2017, 08:31:20 PM

Previous topic - Next topic

andsim

Quote from: Arantor on May 15, 2016, 02:37:05 PM
Yeah, cross domain iframes are a security nightmare which is why the rule prevents them running. That would also imply multiple hosting accounts ruling out proper integration between the two. :(

Quickest way is to take the insecure route and remove the line from the top level index.php which says:

header('X-Frames: SAMEORIGIN');
i am trying do this as well on my website but same as othr person
but cant find header('X-Frames: SAMEORIGIN'); anyewhere

Arantor

That is in the top level index.php file, around line 106 if memory serves.

andsim

Quote from: Arantor on December 27, 2017, 02:40:41 AM
That is in the top level index.php file, around line 106 if memory serves.
close 105 :)

andsim

Quote from: andsim on December 27, 2017, 06:30:09 AM
Quote from: Arantor on December 27, 2017, 02:40:41 AM
That is in the top level index.php file, around line 106 if memory serves.
close 105 :)
next issues i am having is i am not able click on any link for forum inside of iframe, should it be able to?

Advertisement: