Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Development (http://www.go4expert.com/articles/web-development/)
-   -   Compressing And Securing Web Code (http://www.go4expert.com/articles/compressing-securing-web-code-t3167/)

Febian 27Feb2007 11:47

Compressing And Securing Web Code
 
There are now several code obfuscation tools which will not really comprehensively "obscure" source code but somehow retrievably "crunch" it. This is not ideal but it is worthwhile nonetheless as it makes source sifting slow and painful for script kiddies/crackers. There are white space removers, JS code encryptors, some "code crushers", but very few that are carefully tested and will working with html, css, and other more complex code like server side technologies and Javascript. Anyway, some of the tools I have tried with varying success (recommended tools are marked in red, and I’ll update this list if I come across more) are listed below —

JavaScript Scrambler [http://www.quadhead.de/jss.html]

Light-weight white-space remover.

W3Compiler [http://www.port80software.com/produc.../faq#question1]

Something to keep an eye out for. Standard-aware, safe tool for code optimization that does selective compression/obfuscation.

JavaScript Crunchinator [http://www.brainjar.com/js/crunch/]

Removes whitespace and comments from JavaScript files and combines literal strings. From BrainJar’s Mike Hall.

ESC (ECMAScript Cruncher) [http://www.saltstorm.net/depo/esc/]

This free Windows program is an ECMAScript pre-processor written in JScript. In addition to removing whitespace and comments from JavaScript, it can optionally rename variables in JavaScript. For IE5.5+ Win. From Saltstorm.

JSCruncher [http://www.domapi.com/]

Based on BrainJar’s specifications, this free Windows application packs CSS and JavaScript files. Requires semicolons. From the DOMAPI project by Darin Kadrioski.

SpaceAgent [http://www.insiderlabs.com/spaceagent/index.html]

This powerful Windows/Mac web site optimizer optimizes (X)HTML, XML, JavaScript, GIFs, and JPEGs. Server version also available. From Insider Software, Inc.

VSE HTML Turbo [http://www.vse-online.com/]

Like SpaceAgent, this Mac application optimizes (X)HTML, JavaScript, GIFs, and JPEGs. From VSE Online.

Blue Clam [http://www.solmar.ca/]

A Java-based JavaScript obfuscator from Solmar Solutions. Supports recursive directory tree parsing, a user-defined keyword dictionary, variable length obfuscated keyword support, extended file types (such as .js, .jsp, and .asp) and a graphical environment.

ECMAScript Formatter [http://www.semdesigns.com/Products/F...Formatter.html]

Semantic Designs offers industrial strength source code obfuscation and optimization tools for JavaScript and other languages. The ECMAScript formatter can either format JavaScript applications into readable form, or it can conversely protect the source code against reverse engineering by removing structure, comments, and scrambling identifier names. For Windows.

JMyth [http://www.geocities.com/SiliconVall...5233/jmyth.htm]

Encrypts javascript source-code. Allows for enmasse encryption, multiple files at the same time.

Quek [http://www.quek.nl/]

A browser-based surf/animate/chat application written in JavaScript from Q42, which employs home-grown obfuscator (interestingly coded). By Lon Boonen.

Dithered JavaScript Compression [http://www.dithered.com/experiments/compression/]

Chris Nott’s self-extracting archive creation tool.

Extended ASCII JavaScript Packer [http://members.optusnet.com.au/~kris_j/javacomp.html]

Substitutes single byte-token extended ASCII characters for longer strings for efficient packing of JavaScripts. By Chris Johnson.


All times are GMT +5.5. The time now is 18:21.