Srikanth N asked on November 1, 2017 14:42


We have a scenario in our Kentico 10 website, for that we need to modify Iframe parent elements from Iframe. Domain names of Iframe and parent are different. Could you please suggest a way to do that?

We added “<meta http-equiv="Access-Control-Allow-Origin" content="*">” but still the error is occurring. Please suggest a way to make this done.

Correct Answer

Brenden Kehren answered on November 1, 2017 15:00

I'd suggest checking out the documentation here. It talks about setting the x-frame-options as needed.

0 votesVote for this answer Unmark Correct answer

Recent Answers

Peter Mogilnitski answered on November 1, 2017 15:12

Access-Control-Allow-Origin is only for XHR requests. IFRAME has nothing to do with it. For IFRAME you you have to follow Same Origin Policy. You may try to add document.domain = '' to your pages, to see if that works

0 votesVote for this answer Mark as a Correct answer

Srikanth N answered on November 2, 2017 08:31


I set document.domain to the same domain name in Parent as well as in Iframe. It solved the issue. I didn't apply any meta tags.

0 votesVote for this answer Mark as a Correct answer

Joseph I. answered on May 4, 2018 05:42

Internal links it he beat way to improve your website traffic. The most of people running more than one websites and they need suggests like you. The professionals can help you in this while providing the best solution of your problems. I need to know is legit available on your websites.

0 votesVote for this answer Mark as a Correct answer

Siobhan Jones answered on July 19, 2018 13:50

Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell a browser to let a web application running at one origin (domain) have permission to access selected resources from a server at a different origin. A web application makes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, and port) than its own origin. Chase Credit Card Login

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.