Cloud Firestore Enterprise edition with MongoDB compatibility is now available!
Learn more.
保護 Cloud Firestore 中的資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Cloud Firestore 提供強大的存取權管理和驗證功能,視使用的用戶端程式庫而定,可透過兩種不同方法進行。
如要使用行動和網路用戶端程式庫,請使用 Firebase Authentication 和 Cloud Firestore Security Rules 處理無伺服器驗證、授權和資料驗證。瞭解如何使用 Cloud Firestore Security Rules,保護 Android、Apple 和網頁用戶端程式庫的資料。
使用 App Check,確保只有您的應用程式可以存取 Cloud Firestore 資料。
對於使用 Cloud Storage for Firebase 的應用程式,請使用 Cloud Firestore 定義資料庫文件中 Cloud Storage 資源的存取條件,這些文件可由 Cloud Storage Security Rules 存取。
如要使用伺服器用戶端程式庫,請使用 Identity and Access Management (IAM)
管理資料庫存取權。瞭解如何使用 IAM,為 Java、Python、Node.js 和 Go 用戶端程式庫保護資料安全。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-10-23 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-10-23 (世界標準時間)。"],[],[]]