Both Firebase databases provide a way for you to control access to data coming from apps using security rules (Cloud Firestore, Realtime Database). … However, when querying indirectly through Cloud Functions, the client SDKs can’t be used . You’re required to use the Firebase Admin SDK, or one of the other server SDKs.2 Haz 2019