游戏中心和安全
如何确保人们发送到 GameCenter 的数据(例如分数和对等数据交换)不被篡改?即网络数据来自于安全存储的数据(例如使用SQLCiphier),并且中途没有被修改?如果没有自定义服务器端实现,这是不可能的吗?
How can I make sure the data that people send to GameCenter (like score, and peer data exchange) is not tampered with? That is, the network data comes from securely stored data (e.g. using SQLCiphier), and is not modified midway? Is this impossible without a custom server side implementation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您不可避免地会遇到CWE-602:服务器端安全的客户端实施 违规。所以答案是不,你无法阻止它。
Invaiarbly you will encounter a CWE-602: Client-Side Enforcement of Server-Side Security violation. So the answer is no, you can't stop this.
你可以输入一个校验和,但如果黑客发现了它,这显然可以被击败。您可以使用私钥加密数据,但随后您必须通过 CCATS 才能让您的应用程序被接受。
除此之外,如果不使用服务器端验证,您就会陷入困境。
You can put a checksum in but that can obviously be defeated if the hacker figures it out. You could encrypt the data using a private key, but then you have to go through CCATS to get your app accepted.
Other than that you are pretty much stuck without using a server side validation.