mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
17 lines
711 B
Plaintext
17 lines
711 B
Plaintext
service cloud.firestore {
|
|
match /databases/{database}/documents {
|
|
match /{document=**} {
|
|
// This rule allows anyone with your database reference to view, edit,
|
|
// and delete all data in your database. It is useful for getting
|
|
// started, but it is configured to expire after 30 days because it
|
|
// leaves your app open to attackers. At that time, all client
|
|
// requests to your database will be denied.
|
|
//
|
|
// Make sure to write security rules for your app before that time, or
|
|
// else all client requests to your database will be denied until you
|
|
// update your rules.
|
|
allow read, write: if request.time < timestamp.date(2123, 9, 2);
|
|
}
|
|
}
|
|
}
|