$ cd ~/projects hodor A shared-password gate in front of a web application ──────────────────────────────────────────────────── A tiny reverse proxy that gates any web app behind a single shared password. tags: Rust, Security, Web Development, DevOps ──────────────────────────────────────────────────── ## Put a password in front of an app hodor is a small reverse proxy with one shared password and a login page. After a successful login, a signed session cookie lets requests through to the upstream app. It supports WebSockets and streams uploads and downloads without buffering whole bodies. Configure the login title, styling, or a custom template. Selected paths can stay public for webhooks and health checks, while trusted-network bypasses and upstream authentication headers support deployments with their own surrounding infrastructure. hodor on GitHub https://github.com/michidk/hodor ──────────────────────────────────────────────────── ## Run it as a sidecar Run the published container beside the application, set the upstream URL and password, and provide a persistent cookie-signing secret to keep sessions across restarts. Configuration can come from TOML or environment variables. Terminate HTTPS at the surrounding proxy and configure cookie and trusted-proxy settings for that deployment. Login protection includes per-IP rate limits, escalating lockouts, and delayed failed attempts. The shared-password model is useful for a preview or small private app; it does not provide individual accounts or per-user permissions. hodor setup and configuration https://github.com/michidk/hodor#quick-start ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev