Cloudkit Can we modify data of public database

假如想象 提交于 2019-12-01 22:47:59

In the CloudKit dashboard you are able to change the access rights. So it would be possible to make records writable by others. You do have to be careful with this. When your app runs on a jailbroken device, then it's possible to execute methods with arbitrary arguments. This is a high security risk.

if you set your security setting within the record types on the dashboard, you can have all your public records set to be writeable by anyone without messing with the security roles.

Set Authenticated to Write
Set Creator to create.

p.s. you cannot 'world' read from the simulator, you need to be logged in on that. On the device though, you don't need to be logged in to read the public database :-) which is nice.

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