Answer the question
In order to leave comments, you need to log in
How to protect Socket.io from client injection?
How to make sure that the client cannot call and edit anything through a simple browser console, and protect it from connecting from other sites?
Answer the question
In order to leave comments, you need to log in
No way. But you can change the subscription data, for example, if you have a channel:
App.User.{userId}
Instead of a user ID, use some hash that will change every few hours. Thus, it is impossible to avoid unauthorized connection to the room, but this will somewhat complicate the process of random connection to rooms.
Nothing, everything that a browser can do, the client can do, pretending to be a browser
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question