我不知道为什么收到此邮件,我从未在flutter项目中使用过Firebase数据库,
单击超链接后,它将重定向到此代码
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true;
}
}
}
答案 0 :(得分:0)
如果您不想在项目中完全使用Cloud Firestore数据库,建议关闭所有读/写功能。这也将阻止不安全规则的电子邮件提醒。
只需将allow read, write: if true;
更改为allow read, write: if false;
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if false;
}
}
}