I'm developing a multiplayer canvas game based on socket.io and box2d physics engine. Is there a way to limit connections to my socket endpoint and only allow connections from a specific domain?
window.socket = io.connect('http://mysite:8080');
I don't want people to be able to use my end point which is currently possible. They could just use the above code and then "manipulate" the clients logic based on the
emits from the servers response.