• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • Last Modified:

how to secure a swf file to not being able to download or view the actionscripting

i got a website containing swf files. Could someone pelase tell me how to make them secure that no one will be able to download them or view the actionscript of them?
0
Herci
Asked:
Herci
  • 3
  • 2
  • 2
  • +1
5 Solutions
 
Jason ThompsonSenior UX DesignerCommented:
There seems to be a new industry arising in encrypting or protecting Flash files.  Maybe one of these can help?  I'm not sure how effective they are.

http://www.amayeta.com/
http://www.flashincrypt.com/
http://www.dcomsoft.com/en/product/DCoM_SWF_Protector_for_Windows/

Here are some previous threads on this topic:
http:Q_21780214.html
http:Q_22570628.html

Hope this helps.
0
 
CyanBlueCommented:
The bottom line is that you can use those tools to make it hard to decompile the SWF, but somebody will update their decompiler routine to get away with it sooner or later...  
There are so many things you can do to prevent it happening, but they might not be so effective in the near future...  :(

CyanBlue
0
 
rascalpantsCommented:
why are you needing to protect your files?  there are other methods that can be used for security, but I need to know your intent, and why you need to protect the files.


rp
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
HerciAuthor Commented:
i got swf applications in the site i am making. i want to secure them so like that people cant view the actionscripting of those applications and also i dont want anyone to download the swf files and use in their other websites. this security feature is a requirement i really need to have.
0
 
CyanBlueCommented:
I think the simplest solution you can have try is to use the Flash encryption tool on top of the SSL...

CyanBlue
0
 
HerciAuthor Commented:
ans thats an expensive solution. isnt there any other easy and cheap way of doing it?
0
 
CyanBlueCommented:
Well...  Just use the Flash encryption tool then...  :)

You can use this method to disable the cache, but there are ways you can fetch the SWF even if you use this method...  But this is one way to do it...
http://www.htmlgoodies.com/beyond/reference/article.php/3472881

CyanBlue
0
 
Jason ThompsonSenior UX DesignerCommented:
You could keep your ActionScript on the server in separate .AS files and use the Flash encryption tools to hide their locations?  Or you could create a master SWF as a wrapper for all of your applications.  But these are just obfuscations, not true security.

It hasn't been said here yet, but if you're not going to wrap the apps in a master SWF, be sure you're using the 'protect from import' option when you publish.  It won't protect from decompilers, but it'll keep people from playing your your SWF through another SWF.

But bottom line is, if you're looking for 100% source security for anything you publish on the Internet, that ain't gunna happen (unless someone knows of some tool I haven't heard of?).  Adobe could build in encryption algorithms into the next Flash player and that still wouldn't make it safe for your needs, because it's needs to be viewed unencrypted by the end user.  

All you can do is make it more difficult by various degrees to anyone but the most determined hacker to get in to.
0
 
rascalpantsCommented:
FYI...

I have been doing this stuff for a long time, and I have yet to see a method of protecting proprietary Flash projects...  so you can try all of the above, and someone has already written a free program to streal your assets, before you even hit Ctrl+Enter

any newbie can google a tool to gain access to your actionscript or media files that are used in an application.  Obfuscation is just a way of turning all of the code into hard to read properties and methods.

good luck.

rp
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now