Cloudkit Can we modify data of public database

后端 未结 2 1560
星月不相逢
星月不相逢 2021-01-20 09:12

I have just gone through the cloud kit doc as in this link cloudkit but not getting clear about to modify database records for public database. As per this description in cl

相关标签:
2条回答
  • 2021-01-20 10:13

    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.

    0 讨论(0)
  • 2021-01-20 10:13

    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.

    0 讨论(0)
提交回复
热议问题