aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/htpasswd_mirror_of_the_userdb.mdwn
diff options
context:
space:
mode:
authornil <nil@web>2010-06-11 02:45:14 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-06-11 02:45:14 +0000
commitb6d00070a556e68d8e79eb5d64fe7a5ad2dbda18 (patch)
tree2f55cf622bb924f2ed9d7c7950970e8436013f40 /doc/todo/htpasswd_mirror_of_the_userdb.mdwn
parentbe0f52095b21b64d15eee408e630038aefbcae49 (diff)
downloadikiwiki-b6d00070a556e68d8e79eb5d64fe7a5ad2dbda18.tar
ikiwiki-b6d00070a556e68d8e79eb5d64fe7a5ad2dbda18.tar.gz
use the ikiwiki userdb outside of the ikiwiki edition access control
Diffstat (limited to 'doc/todo/htpasswd_mirror_of_the_userdb.mdwn')
-rw-r--r--doc/todo/htpasswd_mirror_of_the_userdb.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/todo/htpasswd_mirror_of_the_userdb.mdwn b/doc/todo/htpasswd_mirror_of_the_userdb.mdwn
new file mode 100644
index 000000000..0582a6f7a
--- /dev/null
+++ b/doc/todo/htpasswd_mirror_of_the_userdb.mdwn
@@ -0,0 +1,17 @@
+[[!tag wishlist]]
+
+Ikiwiki is static, so access control for viewing the wiki must be implemented on the web server side. Managing wiki users and access together, we can currently
+
+* use [[httpauth|plugins/httpauth/]], but some [[passwordauth|plugins/passwordauth]] functionnality [[is missing|todo/httpauth_feature_parity_with_passwordauth/]];
+* use [[passwordauth|plugins/passwordauth]] plus [[an Apache `mod_perl` authentication mechanism|plugins/passwordauth/discussion/]], but this is Apache-centric and enabling `mod_perl` just for auth seems overkill.
+
+Moreover, when ikiwiki is just a part of a wider web project, we may want to use the same userdb for the other parts of this project.
+
+I think an ikiwiki plugin which would (re)generate an htpasswd version of the user/passwd base (better, two htpasswd files, one with only the wiki admins and one with everyone) each time an user is added or modified would solve this problem:
+
+* access control can be managed from the web server
+* user management is handled by the passwordauth plugin
+* htpasswd format is understood by various servers (Apache, lighttpd, nginx, ...) and languages commonly used for web development (perl, python, ruby)
+* htpasswd files can be mirrored on other machines when the web site is distributed
+
+-- [[nil]]