0

I'm using Drupal 7 and I'm quite a newbie here.

I'm building a small sharing/social network site where users will be able to upload different kind of files (mainly, pictures and zipped archives, but I'm not limiting the kind of files one can upload).

Is there a way to set a per-user upload limit/quota (say, 1Gb/month) on a user role basis?

Edit

  • Using Amazon S3 and similar services is a viable option.
  • Users' privacy should be protected, i.e. they should be able to set access permissions on the files they upload (private, friends-only, public), and it would be interesting to have the "expiry" option, i.e. a shared file could expire and be automatically deleted from server after a while.
  • I know there is IMCE module, I never tried it but from its description it seems a bit buggy and not so safe from a privacy perspective.
1

The IMCE module allows, "configurable limits for user roles: file size per upload, directory quota, file extensions, and image dimensions."

  • Thanks, your answer seems, at present, the only precompiled option. I'm accepting it, although I think I'll write a module myself to plug the quota functionality into Amazon S3. – Paolo Stefan Jul 23 '12 at 9:25
0

User Disk Quota seems to do the job as well

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.