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™

Protect SWF Movie

s2Member Plugin. A Membership plugin for WordPress®.

Protect SWF Movie

Postby kelley_rao » August 11th, 2011, 9:55 am

Hello,

I have a SWF movie embedded in one of my protected pages. Because it's stored in the wp-upload folder, if someone knows the URL, they can view the movie without being logged in. I tried to move it to the s2-files directory, but that did not work.

Any suggestions on how I can protect this file from being accessed by the URL?

Thanks as always for your terrific support.

Kelley
User avatar
kelley_rao
Registered User
Registered User
 
Posts: 14
Joined: October 3, 2010

Re: Protect SWF Movie

Postby kelley_rao » August 11th, 2011, 10:38 am

Well, I read the online manual and lo and behold, this was a piece of cake!
User avatar
kelley_rao
Registered User
Registered User
 
Posts: 14
Joined: October 3, 2010

Re: Protect SWF Movie

Postby Cristián Lávaque » August 11th, 2011, 1:30 pm

:)
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

Re: Protect SWF Movie

Postby kelley_rao » August 16th, 2011, 9:48 am

Hello again,

I put the SWF movie in a protected folder; however, it's not really a download but just content I want displayed when a Level 2 Member or higher is logged in. The movie would not display/load when I put it in a folder (ie. music) beneath my S2Member-Files directory.

Thus, I had to move the SWF movie back to the regular wp-uloads folder, which is now accessible to the world if the URL was known.

Are all items in the S2Member-Files considered "downloads?"

Is there a different approach I need to take so that the movie will play and only when Level 2 or higher is logged in?

Many thanks!

Kelley
User avatar
kelley_rao
Registered User
Registered User
 
Posts: 14
Joined: October 3, 2010

Re: Protect SWF Movie

Postby Cristián Lávaque » August 17th, 2011, 2:53 am

Files can be used inline too. WP Admin -> s2Member -> Download Options -> Inline File Extensions
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

Re: Protect SWF Movie

Postby kelley_rao » August 17th, 2011, 9:40 am

Thank you again Cristian. That worked perfectly! The support here is second to none. Kudos to you and your team!

Kelley
User avatar
kelley_rao
Registered User
Registered User
 
Posts: 14
Joined: October 3, 2010

Re: Protect SWF Movie

Postby Cristián Lávaque » August 18th, 2011, 1:24 am

Thanks for the kudos! I'm very glad I could help you solve it and that you now have it working. :)
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: No registered users and 0 guests

cron