We are considering developing an application using "Rooms" in the Node.js library "Socket.IO".
When there are multiple Rooms IDs are assigned to identify the Rooms to which the sockets belong, but we believe that there is a danger of IDs being leaked through methods such as "session hijacking" and communications being hijacked.
Is there a way to use "Rooms" while ensuring security?
Reference URL https://socket.io/docs/v3/rooms/