-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
First idea of implementation
The first idea is to create an iframe. Node will serve a web server with contains in home page a socket.io client that will receive orders from the socket.io server + tests api.
But this form of implementation have a problem. The "Same Origin" security policy, to increase security in browsers when we try to access a domain or port in an iframe not equal to the domain or port we are using on browser, doesn't allow you to access directly to the iframe.
Possible solutions
- Disable the "Same Origin" policy in all devices
- The document.domain method
- The Cross-Origin Resource Sharing method
- The window.postMessage method
- The Reverse Proxy method
We can use other solutions, like include an embed or object tag, instead of an iframe.
Metadata
Metadata
Assignees
Labels
No labels