[pmwiki-users] attach: control downloads (authentication, count)
Petko Yotov
5ko at 5ko.fr
Thu Nov 8 05:51:52 CST 2007
On Thursday 08 November 2007, Patrick Ogay wrote:
> Is there a way to better protect the uploads/Group locations?
> Using authuser it's not evident, to http-protec the locations, without
> having to login in twice.
> I'm looking for a way, where pmwiki handles the uploads and auth, and
> the URL is not directly visible form outsid, similar to the Wikipages.
In config.php you can set
$EnableDirectDownload = 1;
Additionally, create a file named .htaccess in your /uploads directory, and
write inside:
deny from all
This way, a file will be available to only those who can read the page where
it is attached.
Thanks,
Petko
More information about the pmwiki-users
mailing list