Is there any way to only allow parent to control iframe, but no iframe to control parent in html/javascript?
I am making a sandbox mode for my website, and I want people to be able to make their own javascript, but I don't want to allow them to change my site. On the other hand, I might want to add scripts that change things in the iframe.
I see that in newer browsers there is a way to sandbox the iframe - sandbox.
My question is, has anyone come up with a way to make it work unilaterally?