Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Fetching private files
Avatar
gliderman #1
Member for a month · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Fetching private files
Hello,

when a user try do access a private page of a dokuwiki, the user gets a polite
Permission Denied
Sorry, you don't have enough rights to continue.

 
But if the user is given a link to a private file for download, a simple 'Forbidden' is dropped by inc/fetch.functions.php, which is a little bit harsh and not making your wiki very popular. I'm reluctant to modify lib/exe/fetch.php  and function checkFileStatus in inc/fetch.functions.php to at least diisplay a link to the login page with a redirect to download the file  (my dokuwiki use phpbb authentication method).

Is there a plugin to manage  this situation smoothly? Or another solution ?

Thank you, G
This post was edited on 2019-11-13, 19:48 by gliderman.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-06, 10:12:56 (UTC +01:00)