Hybrid Mobile Security

in my case, I have a hybrid mobile application with Cordova.

How can I avoid changes in my javascript / AngularJs if someone downloads my * .apk or * .ipa and tries to use it in a browser?

I want to encrypt my javascript source code or, if possible, get the full content in * .apk.

+4
source share
2 answers

A way to prevent the other person from making changes to your code is to minimize and obfuscate javascript files.

Here you can check it yourself.

javascipt , - , grunt Uglify.

, (CORS) .

+2
  • , js bundle.js cordova-anti-tampering. - apk apk, .
  • - . . - - .
0

Source: https://habr.com/ru/post/1624261/


All Articles