Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to copy-protect flash files?How to copy-protect flash files?
Previous
 
Next
New Post
1/16/2008 2:16 PM
 

Hi all,

How can I prevent users from copying, downloading or linking directly to flash swf files?

I have some eLearning that I'm running from the DNN-based site. The eLearning is built in Adobe Captivate and is published as .swf flash files. I'd like to apply some basic copy protection to this.

I have no idea how this could be done.

Thanks in advance,
Ari

 
New Post
1/17/2008 4:52 AM
 

afaik as long as the user can see the swf file, he can download it (in fact, if the user is looking at the file, it is already downloaded to the browsers cache). You should at least add clear copyright messages to the file ... and have a little trust in your users....


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/17/2008 3:12 PM
 

At least to prevent direct linking to your swf files, this thread could be useful:
http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/182753/scope/posts/Default.aspx

 
New Post
3/5/2008 10:47 AM
 

I found another thing that will help with this: locking the flash files to your domain.

If you secure them in the DNN secure folders, they can only be downloaded by users with the appropriate permissions. However, those users can then distribute the flash files.... So, if you put the following actionscript on the first frame of the flash file, it will lock it to your domain (note that you need to replace the generic domain with your domain name into the action script before you publish it)

//Check to see that it is playing from MyDomain.com domain
//Note that there are local folders listed as acceptable domains.
//If you don't have these in the script, then you won't be able to
//preview the flash file locally before you upload it to your domain.
okToPlay = false;
siteURL = "
http://www.MyDomain.com";
siteURL2 = "
https://www.MyDomain.com";
localURL1 = "C:\\Your Flash Preview Folder\\Published";
localURL2 = "
file:///C:/Your Flash Preview Folder/Published";
localURL3 =
file:///C:/Your%20Flash%20Preview%20Folder/Published;

if ((_root._url.substr(0,siteURL.length) == siteURL) || (_root._url.substr(0,siteURL2.length) == siteURL2) || (_root._url.substr(0,localURL1.length) == localURL1) || (_root._url.substr(0,localURL2.length) == localURL2) || (_root._url.substr(0,localURL3.length) == localURL3))
{
okToPlay = true;
}
if (okToPlay == false)
{
_root.unloadMovie();
}

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to copy-protect flash files?How to copy-protect flash files?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out