简体   繁体   English

Firebase 客户端对您的 Cloud Firestore 数据库的访问将在 3 天后到期

[英]Firebase Client access to your Cloud Firestore database expiring in 3 day(s)

I am a beginner in the Firebase database.我是Firebase数据库的初学者。 I was developing my own project when I receive an email from Firebase Team saying that you have to write security rules for client access.当我收到来自 Firebase 团队的 email 说你必须为客户端访问编写安全规则时,我正在开发自己的项目。 I have no idea how to write security rules for the firebase.我不知道如何为 firebase 编写安全规则。 在此处输入图像描述

HOW TO WRITE SECURITY RULES FOR THE CLOUD FIREBASE CONSOLE?如何为云 FIREBASE 控制台编写安全规则?

Remember that Firebase allows clients direct access to your data, and Firebase Security Rules are the only safeguard blocking access for malicious users.请记住,Firebase 允许客户端直接访问您的数据,而 Firebase 安全规则是阻止恶意用户访问的唯一保障。 Defining rules separately from product logic has a number of advantages: clients aren't responsible for enforcing security, buggy implementations will not compromise your data, and most importantly, you're not relying on an intermediary server to protect data from the world.与产品逻辑分开定义规则有许多优点:客户端不负责强制执行安全性,错误的实现不会危及您的数据,最重要的是,您不依赖中间服务器来保护数据不受外界影响。

You can check this official document in Firebase Get started with Firebase Security Rules .您可以在 Firebase开始使用 Firebase 安全规则中查看此官方文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cloud Firestore 和 Firebase 实时数据库有什么区别? - What's the difference between Cloud Firestore and the Firebase Realtime Database? Firebase Cloud Firestore 抛出“客户端离线” - Firebase Cloud Firestore throws "client is offline" Firebase 云功能不更新 Firestore 数据库中的数据 - Firebase Cloud function not updating data in Firestore database Firebase 数据库过期 - 更改规则 - Firebase database expiring - changing rules 使用 FastAPI 在全球范围内访问 Cloud Firestore 数据库 - Access cloud Firestore database globally with FastAPI 如何从 Swift 中的 Cloud FireStore Firebase 访问特定字段 - How to access a specific field from Cloud FireStore Firebase in Swift 如何将Firebase(Cloud Firestore)中的数据库与Laravel Auth用户集成 - How to integrate database in Firebase (Cloud Firestore) with Laravel Auth user 是否可以使用云 firestore 规则将 firebase firestore 访问权限限制为仅服务帐户和 API 密钥? - Is it possible to restrict firebase firestore access to only service accounts and API keys using cloud firestore rules? Firebase 上的 Firestore 未在 Google Cloud 上同步? - Firestore on Firebase is not sync on Google Cloud? 客户端推送速率和文档负载的限制是否适用于 Firebase Cloud Firestore 中的第一个快照? - Do the limitations to client push rate and document payload apply to the first snapshot in Firebase Cloud Firestore?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM