views:

602

answers:

2

How do I prevent my SWF from decompiling?

Is there any difference between ActionScript 1/2 and ActionScript 3 in the perspective of decompile prevention?

This is an opposite question of the following question:

How do you decompile a swf file? http://stackoverflow.com/questions/97018/how-do-you-decompile-a-swf-file

A: 

http://www.swftools.com/tools-category.php?cat=840

Here is a plenty of tools for SWF obfuscation.

FractalizeR
+4  A: 

Unfortunately you can't avoid anyone from getting your source if they try hard enough.

You can use tools to make reading the code more difficult, however you won't make it harder to decompile. The decompiled output will simply be obfuscated.

The one reverse engineering can then try to deobfuscate your code, making it readable again. You can make it more difficult to deobfuscate your obfuscated code by using better obfuscation methods. Unfortunately there is little known about tools like this one, and thus we are forced to believe the words of the developers that created them. One of these answers is made in one of my questions. But to be honest, this is not very reliable.

You would need to hire professional and experienced reverse engineers to try and deobfuscate one of these obfuscated files to really know howmuch time it will take them and whether it is going to be worth the effort.

Tom