Page 1 of 1

articulate presenter file protection and access?

PostPosted: October 5th, 2010, 4:53 pm
by rhinoflog
Hello, I have searched for the answer to this question but cannot find anything that helps me.

Here's the goal: to protect the Articulate Presenter files which I deliver to my members through S2.

Articulate Presenter is elearning software which publishes your presentations to a folder that has multiple files in it, including a player.html file. If you point your browser to the player.html file, it will play the presentation (but will utilize the other files in the directory that the player.html file is in).

I have uploaded my entire presentation to the s2-member-files folder and I understand how that works. However, when I point my browser to the player.html file in the s2-member-files directory (using http://examplesite.com/?s2member_file_d ... layer.html), the presentation doesn't play. I have a feeling this has to do with the fact that the player.html calls other files in the directory and the s2-member-files prevents it from accessing those other files.

(I have tried using the URI protect directory. After uploading my presentation, when I point my browser to the player.html, the presentation plays perfectly... Unfortunately, this is the case whether I'm logged in or not. So I figured I couldn't use the URI protect method.) :(

Any ideas or help would be monumentally appreciated.

Re: articulate presenter file protection and access?

PostPosted: February 27th, 2011, 10:32 am
by DavidJohnson
Did you ever get this working? Id like to do the same thing as well. I haven't tried it yet but what about an iFrame? Put it in the files folder and iFrame it in... It should work that way but will it be protected if somebody views source and see's where the file is being iFramed from? Id hate for that to be shared for others to see.

Re: articulate presenter file protection and access?

PostPosted: February 27th, 2011, 4:46 pm
by Cristián Lávaque
And couldn't you edit the HTML file that points to the other files in the directory and edit the URLs so they all have the right format that will make s2Member serve them to a logged in member?

Re: articulate presenter file protection and access?

PostPosted: March 9th, 2011, 12:09 am
by rhinoflog
Yes, Cristian, that seems like a good idea, and I tried it but to no avail.

I have yet to solve this problem. Would love to solve it, though, as I feel Wordpress + s2member and Articulate are excellent platforms for what I want to do.

Re: articulate presenter file protection and access?

PostPosted: March 9th, 2011, 11:52 pm
by Jason Caldwell
Thanks for the excellent question.

You might try adding a BASE HREF tag to your document.
See: http://www.w3schools.com/tags/att_base_href.asp

Depending on the actual location of your file dependencies,
your base HREF may also need to have ?s2member_file_download= in it.
Code: Select all
<base href="http://examplesite.com/?s2member_file_download=directory/" />
This way all embedded media and links will come out like this.

Code: Select all
<img src="myimage.gif" />

Will actually translate to ( because of the BASE HREF ):
Code: Select all
<img src="http://examplesite.com/?s2member_file_download=directory/myimage.gif" />

* You will also need to configure s2Member's Inline File Extensions. You will find this in your Dashboard under: s2Member -> Download Options -> Inline File Extensions.

* This concept/idea is yet untested; but should work in theory. Please report back with any successes or failures. It will really be appreciated.