现已推出具有 MongoDB 兼容性的 Firestore 企业版!
了解详情。
אבטחת נתונים ב-Cloud Firestore
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Cloud Firestore מציעה ניהול גישה ואימות חזקים באמצעות שתי שיטות שונות, בהתאם לספריות הלקוח שבהן אתם משתמשים.
בספריות לקוח לאינטרנט ולנייד, משתמשים ב-Firebase Authentication וב-Cloud Firestore Security Rules כדי לטפל באימות, בהרשאה ובאימות נתונים ללא שרת. Cloud Firestore Security Rules מאפשרת לכם להגן על הנתונים בספריות הלקוח של Android, Apple ואינטרנט.
כדי לוודא שרק האפליקציה שלכם יכולה לגשת לנתוני Cloud Firestore, אתם יכולים להשתמש בבדיקת האפליקציה.
באפליקציות שמשתמשות ב-Cloud Storage for Firebase, אפשר להשתמש ב-Cloud Firestore כדי להגדיר תנאים לגישה למשאבי Cloud Storage במסמכי מסד נתונים שאפשר לגשת אליהם באמצעות Cloud Storage Security Rules.
במקרה של ספריות לקוח של שרת, משתמשים בניהול זהויות והרשאות גישה (IAM) כדי לנהל את הגישה למסד הנתונים. כאן אפשר לקרוא איך לאבטח את הנתונים שלכם בספריות הלקוח של Java, Python, Node.js ו-Go באמצעות IAM.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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)."]]