现已推出具有 MongoDB 兼容性的 Firestore 企业版!
了解详情。
保護 Cloud Firestore 中的資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Cloud Firestore 提供強大的存取權管理和驗證功能,視使用的用戶端程式庫而定,可透過兩種不同方法進行。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-16 (世界標準時間)。
[null,null,["上次更新時間:2025-08-16 (世界標準時間)。"],[],[],null,["\u003cbr /\u003e\n\nCloud Firestore offers robust access management and authentication\nthrough two different methods, depending on the client libraries you use.\n\n- For **mobile and web client libraries** , use Firebase Authentication and\n Cloud Firestore Security Rules to handle serverless authentication,\n authorization, and data validation. Learn how to secure your data for the\n Android, Apple, and Web client libraries with\n [Cloud Firestore Security Rules](/docs/firestore/security/get-started).\n\n Use [App Check](https://firebase.google.com/docs/app-check) to help ensure\n that only your app can access your Cloud Firestore data.\n\n\n For your apps that use Cloud Storage for Firebase, use Cloud Firestore to\n define conditions for access to your Cloud Storage resources in database\n documents that can be [accessed by Cloud Storage Security Rules](/docs/storage/security/rules-conditions#enhance_with_firestore).\n- For **server client libraries** , use Identity and Access Management (IAM)\n to manage access to your database. Learn how\n to secure your data for the Java, Python, Node.js, and Go client libraries\n with [IAM](https://cloud.google.com/firestore/docs/security/iam)."]]