This module ended up costing me a lot more time than it was worth. It seems that all the files were uploaded simply into files/filedrop and not files/filedrop-private/filedrop/. So all the files are mislinked and everything uploaded can't be downloaded from the link provided in the module.

Note: I use nginx server.

Comments

techninja’s picture

Category: bug » feature
Status: Active » Postponed (maintainer needs more info)

As I should probably should mention on the front page description, the secure file download is based on .htaccess file restrictions, which I'm pretty sure would only work for Apache (making them very secure, but server type sensitive).

I'm not running nginx anywhere at the moment, and unless you can either write a patch or find someone to implement the same type of protected directory implementation for nginx for filedrop, I'll have to unfortunately say "Sorry, can't do that."

markwk’s picture

Title: Didn't upload to correct location » Include Server Settings info to support Nginx private file setup
Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

Attached this issue to Drupal's main Nginx setup Octopus: #1351234: Add support for private files directory from filedrop module

Once it gets fixed there we can attach the relevant info back to filedrop. Nginx doesn't support .htaccess so changes must be made on the server level.

markwk’s picture

Title: Include Server Settings info to support Nginx private file setup » Modify to use standard Drupal handling of private file directories
Category: feature » bug

Check this issue: #1351234: Add support for private files directory from filedrop module

One of the developers said using .htaccess is not the standard way to handle private file directories. I'll research this issue more about private files soon.

Grayside’s picture

That is standard practice. However, one of Filedrop's use cases is to provide private file space inside an otherwise public filesystem. This is necessary to maintain adequate performance for files that don't need the protection. As there is no system in D6 for a hybridized approach along those lines, Filedrop has it's own. This is a non-issue for D7, and will greatly simplify the module once it is upgraded.

markwk’s picture

Oh I totally understand how this works in terms of private files and performance. Oh well... I was hoping to use this module on a 10+ school setup with each school having their own site and groups, etc. Apache just isn't at all economical choice compared with Nginx.

Grayside’s picture

If you can figure out how to do the same with nginx, we could support both.