Socket.io Security Issues

后端 未结 2 892
庸人自扰
庸人自扰 2021-01-02 05:47

I\'m wondering how I could secure my socket.io connection to the server from th following.

Security Issues:

  • What would stop malicious users from connec
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-02 06:38

    Well, if your (real) clients are coming from a well know location, you'd probably want to to block everyone else at the firewall level. Assuming your service is available to everyone, you can probably look into client-server handshake mechanism.

提交回复
热议问题