5

我的应用程序的基本功能是显示图像。我可以在 PC 上提取 apk 包的内容。很容易看到包中的所有资产 - 其中包含的图像。我想隐藏这些图像。它们应该只在用户安装软件包的设备上运行时可见。

有什么办法可以解决这个问题吗?谢谢!

4

3 回答 3

2

Well there is a way around for this stuff.

  1. Create an database with Image table in sql-light.
  2. Store All the Images in BLOB field.
  3. Present or database when user intsall the APK
  4. Read all the Images from DB and present on UI.
  5. When user un-install the app; Remove the DB as well.

I know this is big but this is secure way to secure your images and make APK.

Hope this helps

于 2012-07-31T07:56:31.477 回答
0

存储加密或以某种方式加扰的图像。

由于密钥必须在 APK 中,因此总是有可能被坚定的攻击者破解,所以不要为任何额外的强大而烦恼。带有密钥的简单密码足以阻止通常过度好奇的用户。

于 2012-07-31T07:53:41.780 回答
0

另一种方法是为用户生成一个唯一标识符,然后在传递该唯一 ID 后从远程服务器下载图像。远程服务器读取唯一 ID 并根据该唯一 ID 以及您可能放入代码中的一些其他字符串加密文件。

于 2012-07-31T08:01:37.967 回答