Firebase App Check: what it guards against and how to enable it safely
Firebase web configs are visible in front-end code, so anyone can send requests straight to a project's backend. App Check addresses this by requiring requests to carry a short-lived token that proves they originate from the genuine app, using attestation providers such as reCAPTCHA Enterprise, Play Integrity, or Apple's DeviceCheck and App Attest. The article stresses that App Check is not a login system and does not replace security rules, so overly permissive rules must be fixed first. It recommends registering the app, initializing App Check early, running in monitoring mode before enforcing per service, and using debug tokens only in development. It also advises verifying enforcement by replaying requests without the token and confirming that rules still block cross-user access.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in