Cloud Firestore 提供強大的存取管理和驗證功能,視使用的用戶端程式庫而定,可透過兩種不同方法進行。
如果是行動和網路用戶端程式庫,請使用 Firebase Authentication 和 Cloud Firestore Security Rules 處理無伺服器驗證、授權和資料驗證。瞭解如何使用 Cloud Firestore Security Rules,保護 Android、Apple 和網頁用戶端程式庫的資料。
使用 App Check,確保只有您的應用程式可以存取 Cloud Firestore 資料。
如要使用伺服器用戶端程式庫,請透過 Identity and Access Management (IAM) 管理資料庫存取權。瞭解如何使用 IAM,保護 Java、Python、Node.js 和 Go 用戶端程式庫的資料。