其他应用程序可以使用 APNS 令牌发送通知吗?
我有一个应用程序 A,它注册到苹果以接收通知,这会生成“tokenA”,并传递给“providerA”。
现在有另一个应用程序 B 注册到苹果以接收通知,这会生成“tokenB”,该“tokenB”将传递给“providerB”。
因此,如果“providerB”以某种方式获取“tokenA”,“providerB”可以利用“tokenA”来使用“tokenA”向应用程序A发送span消息?
因为providerA和providerB都有权连接到Apple服务器。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,与 APNS 服务器的连接是通过 SSL 并具有特定于应用程序的证书 - 因此除非提供商 B 也获得了该证书,否则他们不应该能够发送通知。
诚然,我可能记错了证书部分。
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.