现已推出具有 MongoDB 兼容性的 Firestore 企业版!
了解详情。
รักษาความปลอดภัยของข้อมูลใน Cloud Firestore
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Cloud Firestore มีการจัดการการเข้าถึงและการตรวจสอบสิทธิ์ที่มีประสิทธิภาพ
ผ่าน 2 วิธีที่แตกต่างกัน โดยขึ้นอยู่กับไลบรารีของไคลเอ็นต์ที่คุณใช้
สำหรับไลบรารีของไคลเอ็นต์อุปกรณ์เคลื่อนที่และเว็บ ให้ใช้ 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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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)."]]