Last post Jul 08, 2016 02:59 AM by Angie xu - MSFT
Jul 07, 2016 06:18 AM|PProgrammer|LINK
My C# webproject with .NET 4.5.2 needs an iFrame, why I added ‘X-Frame-Options’ with ‘AllowAll’ to the web.config file (via IIS 8.5). Still the content of the iFrame is blocked.
What else do I need to configure to see the iFrame content?
Many thanks for your input.
Jul 08, 2016 02:59 AM|Angie xu - MSFT|LINK
There are three possible directives for X-Frame-Options:
X-Frame-Options: ALLOW-FROM https://example.com/
ALLOWALL isn't a valid value for X-Frame-Options
This might help you:
Cannot display my rails 4 app in iframe even if 'X-Frame-Options' is 'ALLOWALL'