Is there any Drupal 7 module there, that can restrict any user, based on role/privilege, number of downloads per day. For example, 'x' type of user can download 10 files/day.

  • 3
    I haven't seen a module that does that (doesn't mean there isn't one of course). If writing your own is an option, it wouldn't be that much work. hook_file_download() is the key, check out Commerce File as a starting point for the code, it has everything you need – Clive Oct 19 '13 at 12:35

I don't think such module exist. But you can write your own module. Download Count may help you while writing your custom module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.