防止离子工程的逆向工程 [英] Prevent reverse engineering of ionic application

查看:110
本文介绍了防止离子工程的逆向工程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法防止离子移动应用程序的反向工程?如Android论坛中所述,我已经激活了proguard并在eclipse中构建了该应用程序.在我的bin文件夹中创建了一个名为proguard的文件.它包含这样的内容

Is there a way to prevent reverse engineering of ionic mobile application? As mentioned in Android forum I've activated proguard and built the application in eclipse. A file called proguard was created in my bin folder. It contained something like this

 view AndroidManifest.xml #generated:6 
-keep class com.fg.lolc.CordovaApp { <init>(...); }

但是我仍然可以对该应用程序进行反向工程,因此我能够从我的APK中获取代码.有没有办法防止这种情况并提高离子应用的安全性?谢谢.

But I still could reverse engineer the app and I was able to get the code from my APK. Is there a way to prevent this and improve the security of the ionic application? Thanks.

推荐答案

不,这是不可能的.您可以对JavaScript进行编码,以使其更难获得代码,但是总有办法将其逆转.网络不是安全的源代码场所,它向所有人开放.

Nope, it isn't possible to prevent this. You can encode your JavaScript to make it a little harder to get the code, but there are always ways to reverse that. The web is not a secure place for source code, it is open for all.

这是一篇不错的文章,介绍了加密"源代码以使其难以阅读的各种方法.

Here is a good post about different ways to 'encrypt' your source code, to make it harder to read.

http://www. justbeck.com/三种方式加密phonegap-and-cordova-mobile-applications/

相关如何避免反向工程APK文件?

这篇关于防止离子工程的逆向工程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆