Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Cloud Firestore предлагает надежное управление доступом и аутентификацию с помощью двух различных методов в зависимости от используемых клиентских библиотек.
Для мобильных и веб-клиентских библиотек используйте Firebase Authentication и Cloud Firestore Security Rules для бессерверной аутентификации, авторизации и проверки данных. Узнайте, как защитить данные для библиотек Android, Apple и веб-клиентских библиотек с помощью Cloud Firestore Security Rules .
Используйте функцию App Check , чтобы убедиться, что доступ к данным Cloud Firestore имеет только ваше приложение.
Для приложений, использующих Cloud Storage for Firebase , используйте Cloud Firestore для определения условий доступа к ресурсам Cloud Storage в документах базы данных, к которым можно получить доступ с помощью Cloud Storage Security Rules .
Для серверных клиентских библиотек используйте Identity and Access Management (IAM) для управления доступом к базе данных. Узнайте, как защитить данные клиентских библиотек Java, Python, Node.js и Go с помощью IAM .
[[["Прост для понимания","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-09-06 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)."]]