简体   繁体   中英

android release, protecting data resources

I'm releasing an android app through google play.

This is my first release & I wanted to check all security possibilities before.

My concern currently is that the app uses an api for data sourcing. currently the api address is hard coded in the source.

obviously the server which hosts the api has been secured, with the api only available on 80.

Is there any 'android conventions' to API sources, similar to how strings.xml is treated?

You can store encrypted strings wherever you require. The logic is that in order to decrypt these strings, you'll need a key. Wherever you end up storing the key becomes the weak link in this chain. If your app is reverse engineered and someone gets a hold of the key, your strings are no longer encrypted.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM