joexbayer / c-web-modules

A modular web framework for C, inspired by kernel modules. Dynamically upload and compile C code at runtime to build REST APIs, WebSocket services, and more. Includes support for JSON (Jansson), SQLite, OpenSSL, and streaming large data efficiently.
GNU General Public License v3.0
184 stars 8 forks source link

Add authentication and authorization for WebSocket clients #3

Open joexbayer opened 2 weeks ago

joexbayer commented 2 weeks ago

The current WebSocket server allows any client to upgrade a connection. Add support for client authentication and optional authorization mechanisms to restrict access.

This is also needed for the management routes.