Is it safe to share access tokens with Watch Connectivity's updateApplicationContext?

自作多情 提交于 2019-12-23 10:48:12

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/32546602/is-it-safe-to-share-access-tokens-with-watch-connectivitys-updateapplicationcon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!