[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #36 from roidelapluie/docperf
Browse files Browse the repository at this point in the history
Add a note about performance in the documentation
  • Loading branch information
roidelapluie committed Jan 18, 2021
2 parents 9729a11 + 914f6ce commit 7bcc4a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/web-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ hash. A higher cost will en up slowing down the authentication process.
Depending on the machine, a cost of 10 will take about ~70ms where a cost of
18 can take up to a few seconds. That hash will be computed on every
password-protected request.

## Performance

Basic authentication is meant for simple use cases, with a few users. If you
need to authenticate a lot of users, it is recommended to use TLS client
certificates, or to use a proper reverse proxy to handle the authentication.

0 comments on commit 7bcc4a4

Please sign in to comment.