其他应用程序可以使用 APNS 令牌发送通知吗?

发布于 2024-09-05 04:31:18 字数 265 浏览 2 评论 0原文

我有一个应用程序 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橘虞初梦 2024-09-12 04:31:18

据我所知,与 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文