search

How to build a secure WebSocket server in Python

source Source: Blog RSS Feed | Snyk
calendar_today
schedule 1 min read

When a web app needs something from an external server, the client sends a request to that server, the server responds, and the connection is subsequently closed. However, bi-directional communication lets the server independently push data to the client every time it updates. This type of connection uses the WebSocket protocol, and today we’ll learn to build a secure WebSocket server using Python and JavaScript.

Related articles

cybersecurity

New North Korean campaign uses fake coding interviews to steal developer credentials

DPRK-aligned hackers hid malware inside SVG flag images to backdoor developer job interview coding tests. Not one antivirus vendor caught it.

cybersecurity

Abbott probes two cyber incidents amid extortion claims

Abbott Laboratories is investigating two separate cybersecurity incidents after confirming unauthorized access to internal legacy Exact Sciences systems in its Cancer Diagnostics business, while also investigating a separate claim that attackers breached its LabCentral portal and stole company data.

cybersecurity

HollowByte DDoS flaw bloats OpenSSL server memory with 11-byte payload

A vulnerability dubbed HollowByte allows unauthenticated attackers to trigger a denial-of-service (DoS) condition on OpenSSL servers with a malicious payload of just 11 bytes.