Cloudkit我们可以修改公共数据库的数据 [英] Cloudkit Can we modify data of public database

查看:294
本文介绍了Cloudkit我们可以修改公共数据库的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚浏览了云端套件文档,如此链接 cloudkit 但没有明确要修改公共数据库的数据库记录。根据cloudkit框架中的描述。

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 cloudkit framework.

使用公共数据库,默认情况下,图像中指定的数据是全局可读的,所有者可写。那意味着只有所有者才能修改其他用户只能阅读的数据?
假设,使用公共数据库,用户A可以访问用户B的记录,但是用户A可以修改用户B在同一应用程序中的记录。

Using Public Database, as specified in image by default data are world readable, owner writable. That means only owner can modify his data other user can only read? Suppose, using public database, user A can access records of user B, But can user A modify records of user B in same application.

请建议。谢谢。

推荐答案

在CloudKit仪表板中,您可以更改访问权限。因此,可以制作其他人可写的记录。你必须要小心这一点。当您的应用程序在越狱设备上运行时,可以使用任意参数执行方法。这是一个很高的安全风险。

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.

这篇关于Cloudkit我们可以修改公共数据库的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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