与Watch Connectivity的updateApplicationContext共享访问令牌是否安全? [英] Is it safe to share access tokens with Watch Connectivity's updateApplicationContext?

查看:122
本文介绍了与Watch Connectivity的updateApplicationContext共享访问令牌是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

applicationContext是否已加密?还是只是将其存储为未加密的plist文件?因为如果是后者,我不应该使用它来转移访问令牌.

Is the applicationContext encrypted? Or is it simply stored as an unencrypted plist file? Because if it's the latter, I shouldn't be transferring access tokens using that.

推荐答案

设备之间的通信已加密,如

The communication between the devices is encrypted, as documented in the iOS Security Guide. I haven't seen any documentation on whether the applicationContext storage location is encrypted, but to be safe you could encrypt the token yourself before queueing it to be sent and decrypt when the other device has received it.

这篇关于与Watch Connectivity的updateApplicationContext共享访问令牌是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆