Reputation: 887
I have a number of REST API Keys (Google Places, etc) that I want to secure. Reading Google Groups and SO it seems obfuscation isn't a solution, neither is using the Keychain, so how do you suggest encrypting/securing sensitive information when the IPA package can just be unpacked and read? (I don't want to rewrite the application in Objective-C).
Upvotes: 4
Views: 1003
Reputation: 262534
If you have the option of hosting a web service yourself, you can have the device talk to your own server instead of Google's. It would act as a proxy: The device authenticates to your service using a scheme of your choosing and never gets to see the API key, which rests securely on your servers. The process is very similar to how it would work on a web site (where also the browser does not talk to the backend service provider directly, but the web server does it on its behalf).
Upvotes: 3