I'm wondering how I could secure my socket.io connection to the server from th following.
Security Issues:
- What would stop malicious users from connecting to the socket server via client side code?
Example:
OUTSIDE DOMAIN REQUEST var socket = io.connect('http://Mydomain', {port: 4000});
- Users can seemingly create thousands of concurrent connections just by opening a different browser window.
How can I prevent these issues?