diff options
author | rofl0r <retnyg@gmx.net> | 2017-11-16 12:04:37 +0000 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2018-02-06 16:57:02 +0000 |
commit | 8db511b9bff5dfa61a9448659e28ce54d9aa8869 (patch) | |
tree | dfa874e224346c8453c3b24838481729de79c505 /etc | |
parent | 1ebfd2a2d165bcd9bcebbeb907faf02cb3d54bae (diff) |
add support for basic HTTP authentication
using the "BasicAuth" keyword in tinyproxy.conf.
base64 code was written by myself and taken from my own library "libulz".
for this purpose it is relicensed under the usual terms of the tinyproxy
license.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/tinyproxy.conf.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/tinyproxy.conf.in b/etc/tinyproxy.conf.in index bca638a..c43266b 100644 --- a/etc/tinyproxy.conf.in +++ b/etc/tinyproxy.conf.in @@ -215,6 +215,11 @@ MaxRequestsPerChild 0 # Allow 127.0.0.1 +# BasicAuth: HTTP "Basic Authentication" for accessing the proxy. +# If there are any entries specified, access is only granted for authenticated +# users. +#BasicAuth user password + # # AddHeader: Adds the specified headers to outgoing HTTP requests that # Tinyproxy makes. Note that this option will not work for HTTPS |