[dokuwiki] Re: Securing Downloads


Jan Tönjes wrote:
Hi,

I would like to secure downloads from dokuwiki. Not all, only from a specific namespace. I.e. I have a page at wiki:here:wego and at the site "wego" i have some files, i want to be available to all users of a specific ip-range.
Since (as Andi pointed out) downloads have to go through DokuWiki, you might be able to secure your downloads through an event handler. Write all your downloads to pages in a particular directory and protect that directory against forbidden IP addresses. I have been working on a HOW-TO for event handlers:

      http://www.mturner.org/wiki/doku.php?do=show&id=wiki:event_handlers

And I take up a case very much like yours at:

http://www.mturner.org/wiki/doku.php?id=wiki:event_handlers_code#headers_and_footers

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: