Nobody Important
Nobody Important

Reputation:

Silverlight Code Obfuscation

I'm looking for recommendations of any free tools available for Silverlight code obfuscation. The professional version of obfuscator supports Silverlight, but the community edition of Obfuscator does not.

Obfuscar from Google Code requires manual specification of every item that shouldn't be obfuscated, so every control and property referenced in XAML must be manually listed. There's no option to not obfuscate names of any public types and members. Even if I manually specify every public class and member, I don't know yet whether there are any other Silverlight issues lurking.

I'm not interested in starting another discussion about the wisdom of code obfuscation, or the lack thereof.

Upvotes: 5

Views: 4372

Answers (6)

EliteCoder
EliteCoder

Reputation: 39

.NET Reactor is a waste of money. There are automatic unpacking tools for almost all versions of the program and the author doesn't answer emails. During my evaluations and testing of a lot of obfuscators I came up with the following list:

  • CodeFort - Very promising. Missing some features at the time of writing but author is already working on them and very responsive to emails. Cheap in comparison to others as well.

  • CLISecure - Good support and product but very very pricey

  • SmartAssembly - Protected program crashed also deobfuscators available but they change small things now and then to thwart them so Its a good choice.

  • 9Rays - Hardly obfuscated anything. (I checked the settings) So waste of money.

  • DeapSea - More expensive then CodeFort and fewer features.

  • CryptoObfuscator - Mid range pricing and feature packed. But I'm not sure how strong the protection is. At one point it was very easy to crack according to some posts. Not sure if that's is still the case.

Upvotes: 3

Sebastian
Sebastian

Reputation: 11

PreEmptive Solutions is in the final phase of beta testing the latest Dotfuscator release that extends protection beyond the Silverlight assembly and into the XAML resources too. (This kind of support is already in production for WPF/BAML). This has three benefits; more of your assembly is protected, your XAML is protected, and you save time since configuration is now much simpler (no more exclusions).

If you are interesting in being a beta candidate, email me ([email protected]) and I will have our support team send you credentials. Please keep in mind, this is beta – there are no fees – and you will have access to our support – but you cannot use this version for any production work.

The only software requirements are .NET 1.1 or higher and Silverlight 2 or higher. (Yes - test this inside Windows Mobile 7, Windows Azure, ...)

A few other things to consider:

• Analytics (feature and usage tracking) can also be injected post-compile

• The analytics also support the Expression Blend Silverlight Analytics Framework (allowing both design-time web analytics and post-compile- time instrumentation in one).

• Dotfuscator consumes XAP files rather than assemblies and re-signs them automatically making your builds that much simpler.

• Dotfuscator is also an efficient “pruner” shrinking you Silverlight apps along the way…

For more information on our “universal Silverlight support”, see our TechEd announcement at http://www.preemptive.com/news-events/press-releases/307

Upvotes: 1

Christian
Christian

Reputation: 861

I am excited to tell you, that you no longer have to manually exclude types and members from obfuscation of Silverlight assemblies. In fact, you don't have to exclude anything at all.

CodeFort is the first obfuscator ever to introduce XAML and BAML renaming. This means that references to types and members inside of the XAML and BAML code will be updated in sync with the rest of the obfuscation - and by doing that there's no need to leave large portions of the code unprotected, as all other obfuscators do today.

If you want to take a look for yourself, go download the CodeFort Free Edition from our website: http://codefort.org/download

Hope this helps,

Christian

codefort.org

Upvotes: 2

Mike
Mike

Reputation: 21

I haven't seen a good & free obfuscator for Silverlight so far. Here is a nice review of some cheap obfuscators: http://www.olsonsoft.com/blogs/stefanolson/post/Selecting-an-obfuscator-for-Silverlight.aspx. The author choosed .NET Reactor as favorit obfuscator.

Upvotes: 1

Pooran
Pooran

Reputation: 1690

http://code.google.com/p/babelobfuscator/ the free and cool one for now :)

Upvotes: 1

Joe Kuemerle
Joe Kuemerle

Reputation: 6364

The version of Dotfuscator Community Edition that will ship with Visual Studio 2010 will support obfuscation of both Silverlight 2 and Silverlight 3 assemblies.

Upvotes: 1

Related Questions