Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How secure is inter-app communication in iOS?

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?

like image 214
William Niu Avatar asked Mar 29 '11 06:03

William Niu


People also ask

Can iOS apps communicate with each other?

Beyond the sandbox: using app groups to communicate between iOS or macOS apps. Apple's “app group” technology allows a collection of sandboxed macOS or iOS apps from the same development team to all communicate with each other, coordinate functionality, share resources, and/or minimize redundancies.

How secure are iOS apps?

And users can access these apps on their Apple devices without undue fear of viruses, malware, or unauthorized attacks. On iPhone, iPad, and iPod touch, all apps are obtained from the App Store—and all apps are sandboxed—to provide the tightest controls.

What is IPC in iOS?

From iPhone Development Wiki. Inter Process Communication (IPC) is a method that allows processes to send each other messages and data. It is a form of communication available on multiple multitasking platforms and implemented on various languages.

How do two apps communicate?

At the simplest level, there are two different ways for apps to interact on Android: via intents, passing data from one application to another; and through services, where one application provides functionality for others to use.


1 Answers

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.

like image 72
Claus Broch Avatar answered Oct 07 '22 22:10

Claus Broch