System.Web.Helpers.AntiForgeryConfig.SuppressXFrameOptionsHeader = true;
But the make sure to have this value to same origin in web.config
<add name="X-Frame-Options" value="SAMEORIGIN" />
The X-Frame-Options header may contain one of three tokens:
DENY
SAMEORIGIN
ALLOW-FROM origin
read more: https://bit.ly/2pGxI1n
you can allow a website by
X-Frame-Options: ALLOW-FROM https://yourwebsite.com
but new browser are also taking look at this value on header:
Content-Security-Policy: frame-ancestors 'self' https://yourwebsite.com
more about it
I would like to say that you are an amazing blogger...You can inspired me to write blogs for
ReplyDeleteEscort service in Jaipur
Escort service in Jaipur
Escort service in Jaipur
Delhi escort service
Escort service in Guwahati
Escort service in Guwahati
Escort service in Guwahati
Escort service in Guwahati
Escort service in lucknow
Escort service in Aerocity