How secure is inter-app communication in iOS?

William Niu picture William Niu · Mar 29, 2011 · Viewed 8.7k times · Source

I have come across a few articles on inter-app communication on iOS, e.g. "2-way app integration on the iPhone: How it works", and "Apple Approved iPhone Inter-process Communication". Essentially they use custom URL schemes to communicate. My question is what are the security concerns if I were to pass some sensitive data, such as login credentials?

Answer

Claus Broch picture Claus Broch · Mar 29, 2011

Don't use URL schemes for any sensitive data. They are in no way designed to be secure.

Instead you should use the Keychain mechanisms in iOS which are designed for exactly this purpose.