DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:feedauth

feedauth Plugin

Compatible with DokuWiki

2009-12-25

plugin Send an “authorization required” header in the feed

Last updated on
2016-02-03
Provides
Action
Repository
Source

Tagged with authentication, feed, rss

DokuWiki's RSS feed does honor the ACL settings. This means info about read restricted pages are only in the feed when a permitted user logged in. The login can be done by appending username and password to the feed but that's quite insecure.

An alternative is to pass credentials through HTTP basic auth. However some feed readers only do that when asked so, by the webserver. This plugin makes this possible by sending the needed header either on request or always.

Note: basic auth logins only work when PHP is running as Apache module.

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.

Changes

Usage

Once installed, you can add the parameter feedauth to any of DokuWiki's feeds to make it request authorization for non logged in users.

Examples:

http://yourserver.com/dokuwiki/feed.php?feedauth=1
http://yourserver.com/dokuwiki/feed.php?content=html&feedauth=1

If you set the always config option it will always request authorization from anonymous users.

plugin/feedauth.txt · Last modified: 2016-07-06 20:42 by andi