-
Sep 4th, 2017, 04:38 AM
#1
Thread Starter
Lively Member
[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
-
Sep 4th, 2017, 05:28 AM
#2
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,
-
Sep 7th, 2017, 08:22 PM
#3
Thread Starter
Lively Member
Re: "X-Frame-Options" to "SomeOrigins"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|