From 8a32163afa61f08a3300705532cac8f04813c678 Mon Sep 17 00:00:00 2001 From: tenox7 Date: Thu, 14 Dec 2017 00:55:04 -0800 Subject: http auth doc updates --- README.md | 8 ++++++-- wfm.cfg | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cec26cb..8fb6145 100644 --- a/README.md +++ b/README.md @@ -85,14 +85,18 @@ Below is a simple, self-explanatory configuration file example: # external link button without going through cgi routines browser-url=http://x.x.x.x/files/ - # access lists - ace type is either access-ip or access-user + # access lists - ace type is either access-ip, access-user or access-htauth # mixable, eg access-ip=ro:* with number of access-user=rw - # level is ro|rw, one host or username per line * denotes all hosts + # 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 authenticated 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 If you use mixed ro/rw access for instance ip=ro:* and user=rw:admin then in order to authenticate click on the lock sign on right side of diff --git a/wfm.cfg b/wfm.cfg index d32739c..0f32f91 100644 --- a/wfm.cfg +++ b/wfm.cfg @@ -22,11 +22,11 @@ edit-any-file=false # external link button without going through cgi routines browser-url=http://x.x.x.x/files/ -# access lists - ace type is either access-ip or access-user +# access lists - ace type is either access-ip, access-user or access-htauth # 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 is for http basic/digest auth username or * any authenticated user # htauth requires externally defined auth database and Require directive access-ip=ro:* access-ip=rw:127.0.0.1 -- cgit v1.2.3