获取我们在 Firebase 峰会上发布的所有信息,了解 Firebase 可如何帮助您加快应用开发速度并满怀信心地运行应用。
了解详情
保护 Cloud Firestore 中的数据
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Cloud Firestore 通过两种不同的方法提供强大的访问管理和身份验证,具体取决于您使用的客户端库。
对于移动和 Web 客户端库,使用 Firebase 身份验证和 Cloud Firestore 安全规则来处理无服务器身份验证、授权和数据验证。了解如何使用Cloud Firestore 安全规则保护 Android、Apple 和 Web 客户端库的数据。
使用App Check帮助确保只有您的应用可以访问您的 Cloud Firestore 数据。
对于使用 Cloud Storage for Firebase 的应用,请使用 Cloud Firestore 在可通过 Cloud Storage Security Rules 访问的数据库文档中定义访问 Cloud Storage 资源的条件。
对于服务器客户端库,使用身份和访问管理 (IAM) 来管理对数据库的访问。了解如何使用IAM保护 Java、Python、Node.js 和 Go 客户端库的数据。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-25 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]