MongoDB 互換の Firestore Enterprise エディションが利用可能になりました。
詳細
Cloud Firestore でのデータの保護
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Cloud Firestore では、使用されているクライアント ライブラリに応じた 2 つの異なる方法で、堅牢なアクセス管理と認証を行うことができます。
モバイル クライアント ライブラリおよびウェブ クライアント ライブラリの場合は、Firebase Authentication と Cloud Firestore Security Rules を使用して、サーバーレスな認証、承認、データ検証を処理します。Cloud Firestore Security Rules を使用して Android、Apple、ウェブ クライアント ライブラリのデータを保護する方法を説明します。
アプリチェックを使用して、自分のアプリだけが Cloud Firestore データにアクセスできるようにします。
Cloud Storage for Firebase を使用するアプリの場合は、Cloud Firestore を使用して、Cloud Storage Security Rules でアクセスできるデータベース ドキュメント内の Cloud Storage リソースへのアクセス条件を定義します。
サーバー クライアント ライブラリの場合は、Identity and Access Management(IAM)を使用して、データベースへのアクセスを管理します。IAM を使用して Java、Python、Node.js、Go のクライアント ライブラリのデータを保護する方法を説明します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-16 UTC。
[null,null,["最終更新日 2025-08-16 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)."]]