Download & Extend

Protected Download (downld)

This module makes it possible for public and private download to co-exists on Apache web servers.

This module is developed by Thomas Barregren at NodeOne.

The development of this module has been sponsored by:

Protected Download vs Private Upload

Both Protected Download and Private Upload have the same effect, making some files public and other private, but there purposes are quite different: Private Upload is designed to empower the editors to have full control over which files to be public or private. Protected Download is designed to work with Upload Path to "automagically" make attached files public or private depending on the node type. The two modules don't compete with each other, but provide two different solutions on two different needs.

The main differences are:

  • Protected Download is extremely light-weighted, only 5 lines of code.
  • It requires no user interaction, i.e. checking a private checkbox.
  • There are no known conflicts with other modules, e.g. Upload Path, Upload Image or Comment Upload.

Install

  1. Install and enable this module as usually.
  2. Go to admin/settings/file-system and select public download method.
  3. For each directory whose content should be downloaded through the private download method, create a .htaccess file with following content: Deny from all.
  4. Add following line to the .htaccess file in the Drupal home directory: ErrorDocument 403 /index.php.

Downloads

Version Downloads Date Links
5.x-1.0 tar.gz (6.78 KB) | zip (7.93 KB) 2008-Jun-26 Notes

Project Information

  • Module categories: File Management
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 11 sites currently report using this module. View usage statistics.
  • Last modified: April 24, 2010

Maintainers for Protected Download (downld)

  • ximo - 4 commits
    last: 3 years ago, first: 3 years ago
  • TBarregren - 1 commit
    last: 3 years ago, first: 3 years ago

Issues for Protected Download (downld)

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 30 Jun 08
nobody click here