I know that app binaries are encrypted and signed during the build process when packaging up for the app store, but I'm wondering how safe the data in the bundle is? For example, have there been cases of people being able to read strings (or worse encryption keys..) out of iPhone apps?
I'm looking into making a game with a prize - and it's going to be a bit pointless if the winner was able to crack the game and win the prize without 开发者_运维问答even playing the game.
Any advice would be helpful, thanks.
You should consider any app insecure, an App Store distributed app is total insecure as Apple protects iOS data, but jailbreak is a common and easy task, so anyone can search inside your app.
I suggest you to don't store any valuable data on an iOS app.
iPhone apps have been successfully reverse engineered, so yes, there are examples which show that the encryption of app bundles (and hence their content) is not bulletproof.
See this link for one such example.
Images, text files and sound data are stored in a completely "unsafe" manner inside an iOS app bundle (unless you include your own encryption). All one needs to do is to unzip the .ipa file.
精彩评论