【发布时间】:2013-12-02 20:24:04
【问题描述】:
我正在开发一个android 应用程序,在这个应用程序assets 文件夹中包含一些密码和一些imp 信息。
我要防止黑客访问any resources, assets or source code from the APK file,主要是assets resources。
我怎样才能做到这一点?
我找到并考虑了以下解决方案,请纠正我并就此提出您的建议。
1) Put every data or files in assets folder in encrypted way.
在此解决方案中,当我需要使用此资产文件夹数据时,我需要每次都进行解密,这会使我的应用程序变慢。
2) To secure resources, don't include all important resources in the assets folder with APK. Download these resources at the time of application first start up.
这个解决方案也不适合我的应用程序,因为我想在离线模式下使用我的应用程序,如果它是第一次或第二次使用。
3) obfuscation would not protect assets folder data so we can not use that.
请提供您的建议和意见。
任何帮助将不胜感激。
感谢和问候
【问题讨论】:
标签: android android-sdk-tools android-assets