Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I recently wrote an article on CodeProject. I want to include a live demo of codesandbox.io sandbox using . How do I do it?

<b>What I have tried:</b>

I tried adding the iframe, it doesn't work.
Posted
Updated 2-Jan-18 16:18pm

1 solution

It will not work. The site is setup to display content in iframe from the same origin. This is one of the safeguard to prevent clickjacking attack and unethical user from stealing the contents.


X-Frame-Options - HTTP | MDN[^]
 
Share this answer
 
Comments
Karthik_Mahalingam 26-Jan-18 1:01am    
5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900