skip to Main Content

Firebase – How can an attacker will be able to access my cloud firestore database, If I have not setup any cloud firestore security rules

Example: service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if true; } } } { "project_info": { "project_number": "project-number", "project_id": "project-id", "storage_bucket": "project-storage-bucket" }, "client": [ { "client_info": { "mobilesdk_app_id": "mobilesdk_app_id", "android_client_info": { "package_name": "com.example.sample" }…

VIEW QUESTION

Firebase – Handle huge number of index in Firestore queries

Here is my code: Query query = firestore.collection("users") .document(myUserID) .collection("unseen_profiles") .whereEqualTo("country", myProfileCountryFilter); if (!myProfileGenderFilter.isEmpty() && !myProfileGenderFilter.equalsIgnoreCase("everyone")) { query = query.whereEqualTo("gender", myProfileGenderFilter); } if (heightFilterOn) { query = query.whereGreaterThanOrEqualTo("height", minimumHeight); } if (weightFilterOn) { query = query.whereLessThanOrEqualTo("weight", maximumWeight); } if (customAgeFilterOn)…

VIEW QUESTION
Back To Top
Search