While best performance and most secure is outside of the root, having the option to have the directory inside the files directory allows for easier use outside of the box.

Personally, I want it so when multiple developers and automated test boxes don;t need to do any prep work to get it working on a large codebase that includes the module.

Patch adds it + hook_requirements, the requirement mostly there cause liberally borrowed from private_uplodate.module

CommentFileSizeAuthor
filefield_private_htaccess.patch5.72 KBhefox

Comments

hefox’s picture

Version: 6.x-1.0-alpha2 » 6.x-2.x-dev
Status: Needs review » Fixed

Fixed in 2.x branch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.