chandru
chandru

Reputation: 11

Can APNS token be used by other apps to send notification?

I have an app A which is registered to apple to receive notifications and this generates "tokenA" which is passed to "providerA".

Now there is a another app B which is registered to apple to receive notifications and this generates "tokenB which is passed to "providerB".

So if "providerB" somehow gets hold of "tokenA" can "providerB" exploit the "tokenA" to send span messages to app A using "tokenA" ?

because both providerA and providerB has access to connect to apple servers.

Upvotes: 0

Views: 254

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1502166

From what I remember, the connection to the APNS server is over SSL with an application-specific certificate - so unless provider B also gets hold of the certificate, they shouldn't be able to send notifications.

I could be misremembering the certificate part, admittedly.

Upvotes: 1

Related Questions