From 7d8e1aea30cb93a0794567d0cbe2411211f18b02 Mon Sep 17 00:00:00 2001 From: tenox7 Date: Thu, 14 Dec 2017 00:44:54 -0800 Subject: http basic/digest auth support --- wfm.cfg | 4 ++++ wfm.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wfm.cfg b/wfm.cfg index c67e26d..d32739c 100644 --- a/wfm.cfg +++ b/wfm.cfg @@ -26,7 +26,11 @@ browser-url=http://x.x.x.x/files/ # mixable, eg access-ip=ro:* with number of access-user=rw # level is ro|rw, one host or username per line * denotes all hosts # user is username:password combination +# htauth is for http basic/digest auth username or * any valid user +# htauth requires externally defined auth database and Require directive access-ip=ro:* access-ip=rw:127.0.0.1 access-user=ro:guest:secret access-user=rw:admin:password +access-htauth=ro:* +access-htauth=rw:admin diff --git a/wfm.h b/wfm.h index f2d8c5c..9770df7 100644 --- a/wfm.h +++ b/wfm.h @@ -1,4 +1,4 @@ -#define VERSION "1.2.3" +#define VERSION "1.2.4" #define copyright "\n" \ "\n" -- cgit v1.2.3