Websocket Security

Securing the WebSocket upgrade and the frames after it: Origin validation against Cross-Site WebSocket Hijacking, authenticating the handshake rather than the first message, the ticket pattern for browsers that cannot set headers, per-frame authorization, and resource limits on a connection that stays open. Use when generating a WebSocket, Socket.IO, SignalR, or Phoenix Channels server, wiring real-time messaging, presence, or collaborative editing, or reviewing a /ws endpoint.

ShieldNet-360 5173c14 5 files · 26.4 KB Updated

File contents

ShieldNet-360/secure-vibe/tree/main/skills/websocket-security commit 5173c14910

Frequently asked questions

npx skillmds@latest add shieldnet-360/websocket-security