Securing Websockets

前端 未结 3 922
北荒
北荒 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:10

    Connecting to a wss:// WebSocket URL rather than ws:// will use the browser's standard TLS/SSL encryption to connect to the server. It's equivalent to HTTPS vs HTTP. If you trust your browser's SSL/TLS implementation then you can trust WebSocket wss:// connections since they use the same engine. You will need to have a signed SSL certificate configured with your websocket server, but that's pretty much required anyways.

提交回复
热议问题