Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hello
since some people will use this module for commerce invoices (as recommended in commerce invoice module) i think it would be nice to have here a solution on how to make those files private. since the files are note a file field, you can not use the private access system that drupal gives.
has anybody found a solution? i am looking for hours and i didnt.
thanks for any tip :)
Comments
Comment #1
candelas CreditAttribution: candelas commentedmy english is not good :(
Comment #2
candelas CreditAttribution: candelas commentedfor what i learned, this could be done with https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_file_download/7
as soon i have a little time, i will try.
Comment #3
Drupa1ish CreditAttribution: Drupa1ish commentedSee https://drupal.org/node/1587492#comment-6432358 , https://drupal.org/node/1593254#comment-6202678 and https://drupal.org/node/1593254#comment-6204214
Comment #3.0
Drupa1ish CreditAttribution: Drupa1ish commentedspelling mistake
Comment #4
killua99 CreditAttribution: killua99 commentedThere's ways to do it. Maybe we can close it.