Javascript Web Security

Self-Defending Capabilities Available in HTML5/JavaScript Applications

March 14th, 2014 | By Jscrambler | 2 min read

Self-defending capabilities are available in HTML5 and JavaScript applications for the first time! This protection technique has been available for a while for native code applications, but it had never been tried before the JScrambler 3.5 release.

Self-defending feature: Jscrambler solutions

Self-defending is the next step for JavaScript application protection. This is an active protection technique that provides the application with the capability to react to source code modifications (tampering) and debugging at runtime. See it in action, modifying the source code at jsfiddle.

With HTML5 and JavaScript being the cross-platform technologies that have grown faster, from web browsers to mobile platforms and cars, the fact that these applications are delivered in clear text puts tampering on top of the IT security manager’s concerns.

Self-defending does not make other protection techniques, like obfuscation, obsolete. Instead, they must be finely combined, deeply understanding the application’s execution environment.

JScrambler 3.5 also introduces another feature, which enables developers to drive JScrambler transformations on particular source code blocks.

With simple annotations, it is now possible to disable or switch between protection templates on specific source code loops or flows. Explore our Help Center to learn more about how to ignore code blocks. The disable directive allows you to disable a transformation in a specific statement or block.

How easy is it to get your application protected today?

There are a few well-known tools like Google Closure, YUI Compressor, or UglifyJS Minify whose results are often confused with protection, although they do not pretend to protect your application’s source code but improve page loads and execution costs.

You can try Jscrambler and experience what protection really is.

Your projects can be managed from the Web Interface or the Web API, which can be easily integrated into your deployment script.


The leader in client-side Web security. With Jscrambler, JavaScript applications become self-defensive and capable of detecting and blocking client-side attacks like Magecart.

View All Articles

Must read next

Tutorials Jscrambler

Jscrambler 101 — Self Defending

Welcome back to our 101 tutorials on how to use Jscrambler to protect your JavaScript. This time, we’re going to talk about Self Defending.

November 14, 2023 | By Jscrambler | 3 min read

Jscrambler Application Security

Join Our Webinar “Make Your JavaScript App Self-Defensive Against Attacks”

JavScript is here to stay and today, more companies are using it to deploy core services and functionalities, leaving them vulnerable on the client-side. But do they have to be?

December 13, 2017 | By Jscrambler | 1 min read

Section Divider

Subscribe to Our Newsletter