From 8db511b9bff5dfa61a9448659e28ce54d9aa8869 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Thu, 16 Nov 2017 12:04:37 +0000 Subject: 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. --- etc/tinyproxy.conf.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc') 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 -- cgit v1.2.3