Protecting files

4 replies [Last post]
robives
Offline
Joined: 10/30/2009
Status: 
Answered

I use the Paypal Subscription module to allow subscribers to download pdf files. I don't want to use the private file system as it overloads the server and is not possible to add to an existing site but I do want to protect my files.

I found this info about protecting files within the public file system.

http://www.drupalcoder.com/story/406-mixing-private-and-public-downloads...

Could you use your amazing coding skills to integrate this type of thing into PayPal Subscriptions. It would be a really useful addition!

Leighton Whiting
Offline
Joined: 06/02/2009
Robives, This is something

Robives,
This is something that I am currently working on for my upcoming module, Paypal Files. It is almost ready for beta testing, and I have some beta testers lined up for it. If you would like to beta test it, let me know. I'm trying to get a version ready this weekend for beta testing. After beta testing for a week or so, I plan to release it here on the site. Basically it will allow you to sell file downloads via Paypal, and will offer settings to restrict how many IP addresses download a file, how many times it is downloaded, and how long the file is able to be downloaded for. It will be a comprehensive solution to people using Paypal who want to sell their files and have a Drupal website. It will also integrate with Paypal Affiliates, so you can support Affiliates.

Sincerely,
Leighton Whiting

sellportal
Offline
Joined: 09/24/2009
Just checking

Leighton,

I'm adding stuff to my site where I run paypal subscriptions and almost all of the content is files for download.

I'd be more than happy to do some testing if you still need help.

I have a couple of question about your new module.

Will the physical download path/url be hidden from the user?

And will it be possible to store files outside the site (S3 for example)?

 

Kenth

Leighton Whiting
Offline
Joined: 06/02/2009
Kenth, The URLs will be

Kenth,
The URLs will be generated for each purchase, thus letting you control access to the files. So yes, it will be 'hidden'. Storing files outside the server won't be secure, so that won't really work as well, but I can try implementing something like that as well.

Sincerely,
Leighton Whiting

robives
Offline
Joined: 10/30/2009
Hi Leighton, As I metioned in

Hi Leighton,

As I metioned in my email I'd be delighedto take part in your beta test.

I have two main sections on my website, one where I sell individual pdf files and one where subscribers free access to a full set of pdf files. I'm guessing that your new script will be ideal for the first but not for the second?

Regarding secure files. I'm really after the same thing as Kenth where a particular role has access to files but the files are not available to other users.

Twitter Feed