aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://emptty.myopenid.com/ <http://emptty.myopenid.com/@web>2009-08-28 12:18:30 -0400
committerJoey Hess <joey@kitenet.net>2009-08-28 12:18:30 -0400
commit79d3bb16ea54520cffbb4e120b1a87a3b2967cb4 (patch)
tree3fa43b2a29128d8c02448d692678db87b860d758 /doc
parent54f94e6bc88415990db5b5095b6a52890797f6f7 (diff)
downloadikiwiki-79d3bb16ea54520cffbb4e120b1a87a3b2967cb4.tar
ikiwiki-79d3bb16ea54520cffbb4e120b1a87a3b2967cb4.tar.gz
my first edit to this site, please forgive mistakes
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/Restrict_page_viewing.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/todo/Restrict_page_viewing.mdwn b/doc/todo/Restrict_page_viewing.mdwn
new file mode 100644
index 000000000..b25b7de0a
--- /dev/null
+++ b/doc/todo/Restrict_page_viewing.mdwn
@@ -0,0 +1,11 @@
+I'd like to have some pages of my wiki to be only viewable by some users.
+
+I could use htaccess for that, but it would force the users to have 2 authentication mecanisms, so I'd prefer to use openID for that too.
+
+* I'm thinking of adding a "show" parameter to the cgi script, thanks to a plugin similar to goto.
+* When called, it would check the credential using the session stuff (that I don't understand yet). If not enough, it would serve a 403 error of course.
+* If enough, it would read the file locally on the server side and return this as a content.
+
+Then, I'd have to generate the private page the regular way with ikiwiki, and prevent apache from serving them with an appropriate and much more maintainable htaccess file.
+
+-- [[users/emptty]]