DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

iFrames suddenly quit working

 25 Replies
 2 Subscribed to this topic
 16 Subscribed to this forum
Sort:
Page 3 of 3 << < 123
Author
Messages
Growing Member
Posts: 52
Growing Member

    The reason is you are telling the website to remove an X-Frame-Options header, then add a different X-Frame-Options header, but you're still ending up with two.

    The fact your remove step isn't doing anything suggests the offending X-Frame-Options heading is being added after your code has run. That sounds like something a firewall or other network security software might do - but I don't know how they're set up. I suspect if you've got IT Ops people where you work, they'd be the people to speak to. 

    If it is something a DNN module upgrade has caused, it's almost certainly on http://healthtest.co.santa-cruz.ca.us/ installation, not on your intranet.

    Veteran Member
    Posts: 1179
    Veteran Member

      I completely agree with Olly. If a module would add the header, IIS would remove it (because of that remove line), and when two headers are delivered, the second is added after the whole process most propably.

      In this case, there is nothing you can do in IIS. But you can test it, if you browse the website http://healthtest.co.santa-cruz.ca.us/ on the server where it is installed. Add something like

      127.0.0.1    healthtest.co.santa-cruz.ca.us
      

      to your hosts-file (normally under C:\windows\system32\drivers\etc, you may edit this with any text editor) to avoid a DNS request.

      Then check the headers you get there (and remove the line above from the hosts file after the test).

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      DNN Connect
      Advanced Member
      Posts: 194
      Advanced Member
        Thanks for your help looking into this -

        Guess what - I just heard back from Tycho de Waard on the DNNConnect Facebook group - he found that DNNSharp Action Form version 5 was causing this issue. He provided me with an upgrade to the module , which I tried on our test server, and it works!. The problem is fixed.
        To be clear - this is on the website serving the content that appears in the iFrame.

        Thanks again for your help!
        -Tom
        Veteran Member
        Posts: 1179
        Veteran Member

          Tom,

          you're welcome, and I am happy that you found the issue. As I don't use DNNSharp Action Form, I did not know about this issue... thanks for telling us.

          Happy DNNing!
          Michael

          Michael Tobisch
          DNN★MVP

          DNN Connect
          Growing Member
          Posts: 52
          Growing Member

            Hooray! So glad you got this figured out :)

            Advanced Member
            Posts: 194
            Advanced Member
              Thanks again both of you!!
              Page 3 of 3 << < 123

              These Forums are dedicated to the discussion of DNN Platform.

              For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

              1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
              2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
              3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
              4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
              5. No Flaming or Trolling.
              6. No Profanity, Racism, or Prejudice.
              7. Site Moderators have the final word on approving / removing a thread or post or comment.
              8. English language posting only, please.

              Would you like to help us?

              Awesome! Simply post in the forums using the link below and we'll get you started.

              Get Involved