Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to protect android app from .apk backup apps

How to prevent an android app from the apps which can make backup of .apk file.

Apps like astro file manager lets user to do so, menu: tools -> backup more info here and one can backup any installed apk on sdcard.

Later on, i can rename it to .zip and extract it, and can easily steal DRAWABLE / ASSET from that app.

My question is, How do i protect my app from such backup?

like image 807
Piyush Patel Avatar asked Nov 22 '11 10:11

Piyush Patel


People also ask

How do you Backup apps on Android as APK?

In the main screen, tap on the option “Apps.” This is where all the apps will be listed by File Explorer. Now, tap and hold the app you want to backup. You can even select multiple apps if need be. After selecting, tap on the option “Backup” appearing at the bottom navbar.

What does APK Extractor do?

APK Extractor will extracts APK that are installed on your android device and copies them to your SD card. Fast and easy to use. Extracts almost all application,including system applications. No ROOT access required.

What is Android allowBackup true?

The allowBackup attribute determines if an application's data can be backed up and restored, as documented here. By default, this flag is set to true . When this flag is set to true , application data can be backed up and restored by the user using adb backup and adb restore .

Where is Android Backup data stored?

Where your phone data is stored. Backups are uploaded to Google servers and they're encrypted with your Google Account password. For some data, your phone's screen lock PIN, pattern, or password is also used to encrypt your data so it can be backed up safely.


2 Answers

What the answers say is not true. If you set your app to use the old copy protection in the market (the checkbox is still there), it will require a rooted phone to read the APK. Also, I've seen an app recently (ICE, in case of emergency), that I couldn't backup and I think it wasn't using the old copy protection. I have no idea how it's doing it. Also, it's not a matter of "stealing" assets, that's irrelevant. For a cracker, every extra step, every nuisance he finds in his way undermines his determination to crack your app, that's what this is be about. It takes just one determined cracker to have thousands of pirate copies roaming around, and we don't want that to happen.

like image 177
Al. Avatar answered Sep 30 '22 20:09

Al.


There is not, as far as I'm aware, a full-proof method to stop this. But even so, I would always ask myself before going to the effort of trying whether I even really care if some one tries to steal something from my app. I spend my effort on making sure any data is secure.

like image 37
C0deAttack Avatar answered Sep 30 '22 21:09

C0deAttack