By Anandyrh on
Hi All,
I've been trying to do this from a log time, I wanted to restrict file download for anonymous users.
here is the use case:
1. A download page where there are links to download some zip files.
2. Anonymous user trying to download should lead to a page to login or register.
3. Authenticated user only will have access to download the files
Right now i can play with displaying blocks per user role on a page. but the problem is if anonymous users knew the file URL they will still be able to download without authentication.
Zip file URL eg: [root/sites/all/default/files/download/123456.zip]
Please share your thoughts.
Thanks in Advance,
AnAnD
Comments
Wow! fount one module, let me
Wow! fount one module, let me experiment with this.
http://drupalmodules.com/module/private-download
Am totally confused with this
Am totally confused with this 'Private Download' module, as it dose not contain any kind of documentation/Readme.txt file to handle the module. it's even tough for developers. could not understand what file permissions to be given to the directories.
which is mentioned like /system/files/private
even after configuring anonymous user is able to download the files.
please any help would be appreciated.
Thanks,
AnAnD
Fount another interesting
Fount another interesting module simpler, and similar to what i was looking for:
It's 'Webform Protected Download module.
Regards,
AnAnD
I am facing problems with is
I am facing problems with this module.
further to this Issues can be tracked at: http://drupal.org/node/1140054#comment-4420638
Few more interesting related
Few more interesting related modules
1. FileField Private Downloads
2. DownloadFile
3. Email Download
Hi! Just want to ask what
Hi! Just want to ask what module did you use to protect your files against anonymous downloads? Thanks!
Go to
Go to admin/settings/private_upload and change the 'Default Upload Privacy Setting:' to 'private'
so all the files that are uploaded by users will be private.