Maxim Dolgolyov
6b2ec38d9a
security: WS auth via first-message, not query string
...
Tokens in URL leak through proxy access logs, browser history and
Referer headers. Now: WS opens unauthenticated, client sends
{type:'auth', token} as first message; server responds with
{type:'auth_ok'} and starts normal message processing.
5-second timeout closes any unauthenticated connection.
Frontend queues session join until auth_ok received.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 16:58:25 +03:00
..
2026-04-16 11:42:38 +03:00
2026-04-12 10:10:37 +03:00
2026-04-23 12:16:08 +03:00
2026-04-12 10:10:37 +03:00
2026-04-12 10:10:37 +03:00
2026-04-12 10:10:37 +03:00
2026-04-23 12:16:08 +03:00
2026-04-16 11:42:38 +03:00
2026-04-13 21:22:21 +03:00
2026-04-13 21:22:21 +03:00
2026-04-13 21:22:21 +03:00
2026-04-13 21:22:21 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-16 11:42:38 +03:00
2026-05-06 16:58:25 +03:00
2026-04-13 21:22:21 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-12 10:10:37 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-13 18:04:59 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-16 11:42:38 +03:00
2026-04-16 11:42:38 +03:00
2026-04-16 11:42:38 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-23 12:16:08 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-13 21:22:21 +03:00
2026-04-16 11:42:38 +03:00
2026-04-23 23:10:58 +03:00
2026-04-13 21:22:21 +03:00
2026-04-23 12:16:08 +03:00
2026-04-13 21:22:21 +03:00
2026-04-13 21:22:21 +03:00
2026-04-14 09:02:30 +03:00
2026-04-16 11:42:38 +03:00
2026-04-12 10:10:37 +03:00
2026-04-16 11:42:38 +03:00
2026-04-16 11:42:38 +03:00