Chatting with nowjs or socket.io is one of the easiest exercises you can do with them. I want to implement multi-room chat (with an unlimited number of rooms and registered users) using nowjs Group objects.
I have not worked with WebSockets yet, and I want to know what security issues exist. For example, how often do I have to authenticate?
Is it possible for an attacker to βcaptureβ the socket.io connection and how to prevent it?
What other security traps might be affected?
Lanbo source share