Securing Websockets

前端 未结 3 955
北荒
北荒 2020-12-31 02:16

Right now our application is designed to facilitate all communication via websockets after the initial load.

We are trying to figure out a solution to safely pass se

3条回答
  •  清酒与你
    2020-12-31 03:11

    Securing(encrypting using SSL/TLS) is very import for your data. But you should consider authentication as well. Anyone with ws capable device that know your endpoint for your server will be able to get data if it doesn't require authentication first. See http://simplyautomationized.blogspot.com/2015/09/5-ways-to-secure-websocket-rpi.html Includes a 3-way handshake method (CHAP) which requires both client and server to have a "pre-shared secret".
    Other ways are detailed on the post.

    Cheers

提交回复
热议问题