Groups | Blog | Home
all groups > flash (macromedia) > july 2004 >

flash (macromedia) : [Question] Protecting your flash files.


Shin2k27
7/22/2004 11:13:14 PM
Is there a way to protect the graphic and actionscript codes of your .swf file
from importing but from decompilers like "Sothink SWF Decompiler" or "Action
Script Viewer 4.0".
I tried "Swift Optimizer" and tested it against "Sothink SWF Decompiler" and
it can still clearly get all the graphics and sounds from the files i had
protected. Even the password protection if flash didnt seem to stand a chance
against "Sothink SWF Decompiler". I am wondering if any users here had found a
way to protect their files from ripping.
ShadowKnyte
7/22/2004 11:56:16 PM
Flash is an open standard and as long as the plugin can read your file and
display your images and play your sound files there will be decompilers that
instead of playing sounds and displaying images can extract them. There are
ways to make things more difficult for people reading your code like
obfuscation etc and that is all you can do.

You may have seen website that prevent users from right clicking on images to
copy them, well how stupid is that because look in your temporary internet
files directory and there will be a copy on the machine - the same is for flash
SWF files... for the user to view your SWF they download it by simply looking
at your website in IE. Your SWF will exist on their machine and they have a
copy.
Shin2k27
7/23/2004 12:02:07 AM
Yeah i know that it will appear in the temporary folders making it was for
people to just copy and paste somewhere and get their hands on some well
created graphics and sounds. But isnt there a way to stop it? Some kind of
program to add an extra protection?
You spoke about ways to make it harder for them to read my codes, could you
explain me what its all about?
ShadowKnyte
7/23/2004 12:06:49 AM
Here is what obfuscation is about:

An important restriction placed upon obfuscation is that the data it works
upon must remain active. That is, obfuscation attempts to shroud the meaning of
data to one viewer while protecting it from another. In computing terms, its
primary use is the protection of program code. It must retain execution
integrity of that program for a computer, but hinder reverse engineering
efforts of humans. After all, we are attempting to protect a computer program
that will someday run inside a computer. This is the direct reason we can?t
encrypt computer programs. Surely, encryption would be an excellent solution
except that a computer can?t run encrypted programs. Per the definition of
encryption, the program would no longer be understandable (even by a computer).
(Source: http://zdnet.com.com/2100-1107-995962.html)

You can find a flsah obfuscator by searching in any search engine.
Peter Blumenthal
7/23/2004 12:52:11 PM
[quoted text, click to view]

The short answer is no. There is no way to protect swf's that would render
them secure to reasonable efforts to decompile.

AddThis Social Bookmark Button