From e316feb33b3a644ae2fd3d89ff850e1c87b0463a Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 3 Oct 2022 08:01:13 -0500 Subject: add warning about API key security over plain HTTP --- docs/config.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index a4bcfc5c..969e2ca7 100644 --- a/docs/config.md +++ b/docs/config.md @@ -568,6 +568,8 @@ A common use case for CIDR filtering might be to restrict API access to clients Note that CIDR filtering may not work as expected behind a reverse proxy, ingress controller, or load balancer, because the remote IP address will be that of the device that's handling ingress. This application doesn't support the `X-Forwarded-For` header (or anything like it) because a bad actor can easily fake it. If you wish to use CIDR filtering in this scenario, you'll need to do it at the point of ingress to your network. +Please also note that using API key authentication without HTTPS is **NOT RECOMMENDED**. API keys are sent in HTTP headers (and in the case of SignalR, in query parameters) and will be easily accessible to anyone eavesdropping on the network. This is a risk with JWTs as well, but JWTs expire and API keys don't. If you choose to use API keys over plain HTTP, seriously consider using CIDR filtering. + | Command-Line | Environment Variable | Description | | ---------------- | -------------------- | --------------------------------------------------- | | `-X\|--no-auth` | `NO_AUTH` | Determines whether authentication is to be disabled | -- cgit v1.2.3