You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Broadcasting is done through HTTP PUT messages against the /stream/broadcast/ route. There's some basic data validation done to ensure that don't receive any broken information but these routes are still approachable from the outside.
We should add some basic authentication to these routes to prevent hacker from broadcasting messages to all our users. The easiest way to do this would be generate a random username + password when the server is generated and to store these details with every host + socket.io inside of redis. If we probably sandbox and firewall redis, it should be good enough.
The text was updated successfully, but these errors were encountered:
Broadcasting is done through HTTP
PUT
messages against the/stream/broadcast/
route. There's some basic data validation done to ensure that don't receive any broken information but these routes are still approachable from the outside.We should add some basic authentication to these routes to prevent hacker from broadcasting messages to all our users. The easiest way to do this would be generate a random username + password when the server is generated and to store these details with every host + socket.io inside of redis. If we probably sandbox and firewall redis, it should be good enough.
The text was updated successfully, but these errors were encountered: