Join AllAdvantage.com

WEBrewery


Tip #8: Effective Obfuscation of Applets

First, an obfuscator is a tool that scrambles bytecode in order to thwart decompilation. Here's a tip for effective obfuscation of applets. Many small applets contain all local variables within init() and no instance variables. Running an obfuscator on this kind of code will have little effect. For effective obfuscation, you should make your variables private instance variables. This will cause most decompilers to crash. If you do this anyway, you'll have no problem. But since many applets are of the former type, this is a good solution.


For Beginners | Jargon | General Tips | Swing | Books | Links | WEBrewery.com

Java is a trademark of Sun Microsystems.

Copyright © 1999 WEBrewery. All rights reserved.
Reproduction in whole or in part in any form or medium without
the express written permission of WEBrewery is prohibited.
brewer@webrewery.com