Results 1 to 3 of 3

Thread: [RESOLVED] "X-Frame-Options" to "SomeOrigins"

  1. #1

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Resolved [RESOLVED] "X-Frame-Options" to "SomeOrigins"

    Hi,

    So one of the company wanted to view my website (which is created using VS 2013, MVC 5 and C#) on their own (WordPress). At first the problem they told me is that my website didn't allow "Cross-Site" so I search for a way on how am I going to allow that functionality and luckily I came across using:

    Code:
    [AllowCrossSiteJson]
    Public ActionResult Name()
    {
    
    }
    And then the next problem they told me is that I need to apply it for an SSL. So I purchase an SSL and install it in IIS on my local server because that's where my project reside, and I was able to use the "HTTPS" for the website. Now the problem they told me is about

    1. Refused to display 'https:/alias.name.org/appname' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
    2. net::ERR_BLOCKED_BY_RESPONSE
    Is there anyone know what to do about this?

    Thank you

  2. #2
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,458

    Re: "X-Frame-Options" to "SomeOrigins"

    https://stackoverflow.com/questions/...ent-via-iframe seems to have a solution, it will remove the X-Frame-Options from your site and allow them to be embeded,

  3. #3

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Re: "X-Frame-Options" to "SomeOrigins"

    Thanks PlausiblyDamp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width