3

Does anyone know of any good obfuscation tools, plugins and or scripts that will work well with Actionscript? Since AS3 is based on ECMAScript I'm guessing that Javascript obfuscators might work as well. Ideally I'm looking for something that would allow to set the level of obfuscation, or to only obfuscate parts of code, ie variables or private methods, etc.

Bachalo
  • 6,965
  • 27
  • 95
  • 189

3 Answers3

5

If you want to protect your final SWFs, you'll need to obfuscate the SWF rather than obfuscating the source code. While changing variable / function / etc names in the source code before compilation will provide some protection, it makes the process much more complex and misses out on several additional levels of possible obfuscation available by processing the compiled SWF.

There are numerous SWF obfuscators available; here's a topic that covers that (note all of the linked topics on the right-hand side). My personal favorite is secureSWF.

Community
  • 1
  • 1
N Rohler
  • 4,595
  • 24
  • 20
  • I think the general rule of thumb here is that crackers are inherently lazy, otherwise they'd be writing their own code. Source-code obfuscation is a good first step, but I concur that the more layers of protection, the better. Just be aware - for every program that "secures" the SWF, there is someone working on cracking that form of security. Don't rely on any one technology to protect you. Source code obfuscation is a smart additional step to take, IMHO. – CodeMouse92 Jan 04 '14 at 00:53
0

I use Flash Secure Optimizer cheap and secure

horas
  • 1
-3

There is no need to obfuscate your code since it is compiled and that will take care of it. Now if you are referring to a de-compiler then don't because it will correct all your obfuscation.

The_asMan
  • 6,364
  • 4
  • 23
  • 34