X-Frame ORIGINS in IFRAME
<p>A while ago I created an application whereby clients connect to a server using WebRTC protocols.</p>

<p>The clients screen is made up of two halves. One half is linked to the server and receieves things like messages, and has the web page which has the WebRTC javascript in it. The other is an IFRAME. When the client connects to the server, the server sends the client a web address which is loaded in the IFRAME.</p>

<p>I know that some web pages cannot be loaded in an iframe, examples typically having password screens. Google forms does not appear to have this restriction, which is great.</p>

<p>So now imagine I launch a server and ask 20 people to connect to it. All 20 students connect to the server properly, I know because it comes up with all their details on my computer. Typically, from my testing, 15/20 will be fine. The other 5 will get a white screen. When I investigate in the console it is an XFRAMES ORIGIN problem, its saying the webpage being loaded will not allow itself to be loaded in an iframe. However everybody else (who are using the same browser [chrome], and some the same browser version) are fine.</p>

<p>Now I have one solution which works for some students, there is a setting in chrome which is called:</p>

<pre><code>block third party cookies and site data
</code></pre>

<p>If this is enabled it doesn't work, if its not enabled it does work.</p>

<p>Now I have 4 students left who still just see a white screen whom I have no solution for. Chrome and Firefox both support the software but both produce the same issue.</p>

<p>The building setup is that students connect to the internet through a server. They must connect via this server as my nameserver is not local and indeed my website is not local either.</p>

<p>I dont think it is a coding issue as it only happens on a few select computers and everything else works just hunky dory. Thus I think it might be an issue with something else: firewall, security settings, config button etc. If anybody has any suggestions for what i can do to remedy this then I would be very grateful for your help.</p>

<p>I have tried to supply all info I believe to be relevant (hense the length) but anything I have missed please ask.</p>

<p>Thank you.
Alex</p>