-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secure backend socket.io from other applications that can access localhost i.e. browser #114
Comments
what's the threat here? can other apps running on the same device see network traffic? |
@holmesworcester not sure about if other apps can see this, afair not, but also I think other app can connect to our socket so it's even worse, but I am again not 100% sure, but I don't see any reason against it |
Note: we can generate a token in the frontend and send it to the backend, or we could use a socket instead. The main thing to protect against is the browser. See: https://en.wikipedia.org/wiki/Cross-site_request_forgery#Example |
Note: we should fix these on master and release an update before 2.0 |
https://stackoverflow.com/questions/14600472/securing-socket-io
The text was updated successfully, but these errors were encountered: