diff --git a/en/mapcache/http.txt b/en/mapcache/http.txt index 9497fe74e7..c596e96c74 100644 --- a/en/mapcache/http.txt +++ b/en/mapcache/http.txt @@ -54,3 +54,37 @@ request: +Authorization +------------- + +To access resources protected by a username and password, provide the `` element. +Currently, only basic authentication is supported. Given that usernames and +passwords are stored in unencrypted form, exercise caution when handling +the configuration file (e.g., avoid committing it to a public repository and +set restrictive file access permissions). The same precautions should be taken +with the memory of the mapcache process (e.g., core files). + +.. code-block:: xml + + + http://example.com/path?key=value + + alice + attackatdawn + + + +Both the username and password are processed verbatim. Ensure not to include +any extra symbols (e.g., space, newline). If there is no username or no password, +simply leave the respective element empty. + +.. code-block:: xml + + + http://example.com/path?key=value + + bob + + + +