Stay organized with collectionsSave and categorize content based on your preferences.
Cloud Firestoreoffers robust access management and authentication
through two different methods, depending on the client libraries you use.
Formobile and web client libraries, useFirebase AuthenticationandCloud FirestoreSecurity Rulesto handle serverless authentication,
authorization, and data validation. Learn how to secure your data for the
Android, Apple, and Web client libraries withCloud FirestoreSecurity Rules.
UseApp Checkto help ensure
that only your app can access yourCloud Firestoredata.
For your apps that useCloud Storage for Firebase, useCloud Firestoreto
define conditions for access to yourCloud Storageresources in database
documents that can beaccessed byCloud StorageSecurity Rules.
Forserver client libraries, use Identity and Access Management (IAM)
to manage access to your database. Learn how
to secure your data for the Java, Python, Node.js, and Go client libraries
withIAM.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],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)."]]