4 ms·
You can avoid loading your site in an iframe using headers. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options https://developer.mozilla
by Hedja 7y ago
You can avoid loading your site in an iframe using headers.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-...
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...
- mettamage 7y agoYou can go around that as a web developer by redirecting traffic through a server and kicking that header off.
- askmike 7y agoAfter which the original source can ban your server's IP. Let the whack-a-mole games begin.
- winrid 7y agoProxy the script and alter it... Whack. :P
- Hedja 7y agoThat's pretty much the case for any remote content. Proxy and rewrite the response. But that added step is usually enough, especially for something as complicated as a Browser MMO. Also, web servers should have rate limits set which would make proxying less viable, even for IP ranges.