Menu

1 / 3

Firebase App Check: what it does, what it does not do, and 6 steps to turn it on safely

DEV Community: firebase·ProofForge | AI app security·2 days ago
#TwI8vEmX
#devtofirebase#devto#dev#firebase#rules
Long article (689 words) — no AI summary yet.
Reading 0:00
15s threshold

Your Firebase config is in your front-end code, so anyone can copy it and call your Firebase backend from a script, not just from your app. Firebase App Check is the feature built for that gap. It is often skipped in AI-built apps. Here is what it does, what it does not do, and how to turn it on without breaking your own users.

The problem

A Firebase web config (API key, project ID, app ID) is not a secret. Firebase documents that it identifies your project. Any visitor can read it from your bundle and send requests to Firestore, Realtime Database or Storage directly, with no browser and no UI. Security rules decide what those requests can do. App Check adds a second question: is this request coming from your real app?

What App Check does

Per the Firebase docs, your app gets an attestation from a provider (reCAPTCHA Enterprise on the web, Play Integrity on Android, DeviceCheck or App Attest on Apple platforms).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.