How to make apk Secure. Protecting from Decompile

后端 未结 7 1027
忘了有多久
忘了有多久 2020-11-28 19:12

I am developing an application that has SQLite database to store personal information that must be protected. What are some ways of protecting these personal data? An APK ca

7条回答
  •  伪装坚强ぢ
    2020-11-28 19:36

    If this is secret information that must not fall into the hands of your users, you cannot secure it. It is fundamentally impossible to put information on a device (code or data), and have your application access it, but not allow someone with the device to have access to that information.

    Encrypting the information is pointless from a security point of view, because your application has to contain whatever is needed to decrypt it in order to use it, and a sufficiently motivated attacker can always extract that and decrypt it on their own.

    All you can do is make it more annoying and time consuming to get access to that information, which only helps if there's not really that much of a need to keep it secret. This is what using proguard to obfuscate your .apk file can do.

提交回复
热议问题