- What's HTTP Basic authentication?
- Base64-encoded user:password in the Authorization header: `Authorization: Basic dXNlcjpwYXNz`. Defined in RFC 7617. Simple, universal, and unencrypted without HTTPS.
- Is Basic auth secure?
- Only over HTTPS. Base64 is encoding, not encryption — anyone who sees the header sees the password. Always use with TLS.
- When should I use it?
- Internal APIs, CI/CD webhooks, server-to-server calls where complexity budgets are low. For user-facing auth, use cookies or OAuth.