feedauth plugin

Compatible with DokuWiki

2009-12-25

plugin Send an "authorization required" header in the feed

Last updated on
2010-07-10
Provides
Action
Repository
Source

Tagged with authorization, 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: 2011/03/05 15:32 by andi
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate