PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Secure Entire Directory for Download

s2Member Plugin. A Membership plugin for WordPress®.

Secure Entire Directory for Download

Postby jessehardesty » December 2nd, 2011, 1:39 pm

I have no idea if there is a way since I'm somewhat of a Novice to some of this. But I know you can restrict downloads to individual files and so on but what if I need to restrict directories?

I work for a small publication of a car magazine and an outdoor magazine. With my somewhat limited knowledge, I felt integrating the digital subscription into our blog was the easiest option for me and so far it's worked out fine. My only issue is my links to the subscriptions are not really "secured or restricted", but luckily most of the people who read our subscriptions typically do not have a higher understanding of how computers work. Typically hunters and outdoors people, computers are not their first priority.

But I wanted to be able to restrict downloads but it only works on individual files not an entire directory of files. Our magazines are basically taken from a PDF and converted over to a flash flipping book magazine using FlippingBook Publisher http://page-flip.com/. Well it creates thousands of files and I wanted to be able to restrict them somehow but I've yet to find a real way. If s2member doesn't support it then I suppose I will have to find some other means to do so, but if there is a way then that's fantastic. I tried just restricting access to the index.html file it links to in each magazines directory but then it can't access all of the other content.

If the program created absolute links then I suppose it'd still work but it does not.

So any ideas? Did I overlook something obvious? Thanks in advance for any help offered.
User avatar
jessehardesty
Registered User
Registered User
 
Posts: 2
Joined: December 2, 2011

Re: Secure Entire Directory for Download

Postby Eduan » December 2nd, 2011, 1:44 pm

You can restrict directories with as many sub-directories you want though the organizing will be done by you.
You can check this video on how to restrict files and folders:
http://www.s2member.com/file-download-options-video/

Hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Secure Entire Directory for Download

Postby Cristián Lávaque » December 9th, 2011, 1:31 am

Jesse, where does FlippingBook Publisher create all those little files? Can you control their location?

s2Member can protect a directory, either in your server or Amazon S3 (if you use that).

If you can't use the default s2Member directory for file protection (/wp-content/plugins/s2member-files/), try this tip to change it: viewtopic.php?f=36&t=2719#p8017

I hope it helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron