Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Enhancing App Security Using Firebase App Check

Enhancing App Security Using Firebase App Check

Avatar for Victoria Mutai

Victoria Mutai

November 17, 2023
Tweet

More Decks by Victoria Mutai

Other Decks in Programming

Transcript

  1. Firebase App Check is designed to protect your backend resources

    and APIs from potential abuse and unauthorized access. Ensures authenticity of the application and the device it runs on. Prevents malicious access to your application.
  2. How App Check enhances security Real-time Threat Monitoring 🛡️ 1.

    Monitor and detect potential threats in real-time, safeguarding your app from malice 2.Protection Against Impersonation 👤 Defending your app against unauthorized users and bots attempting to iimpersonate valid users. 3.Secure Communication Channels 🔒 Establish secure connection between your android application and backend services, ensuring data integrity and preventing tampering
  3. Features of App Check Add an extra layer of protection

    using Google's reCAPTCHA service. Ensure that users accessing your app are human and not automated bots. Recaptcha Integration Provide additional security by verifying the integrity of your app's code. Prevent attackers from leveraging modified versions of your app. App Attest Integration Verify the integrity of the device where your app is running. Prevent unauthorized usage of your app on compromised or rooted devices. Device Attestation
  4. Play Integrity Provider In the Google Play Console, select your

    app, or add it if you haven't already done so. In the Release section, click App integrity. Go to the Play Integrity API section of the page, click Link Cloud project, then select your Firebase project from the list of Google Cloud projects. The project you select here must be the same Firebase project as the one in which you register your app Enable the Play Integrity API: a. b. c. You can get your SHA-1 from the Google Play Console on the Release > Setup > App Integrity page.
  5. In Firebase App Check, token expiration is an inherent part

    of the security model. Tokens obtained through Firebase App Check are configured with a specific expiration time, and developers can leverage this feature to enforce secure access to backend services. You can customize token expiration settings based on their application's security requirements, striking a balance between usability and security. Firebase App Check provides straightforward methods for checking the validity of tokens and refreshing them as needed.
  6. Use Case of Firebase App Check Imagine an e-commerce app

    that dynamically adjusts the level of authentication required for transactions based on the user's location, time of day, and the device's integrity status. During normal circumstances, the user might experience a seamless transaction process. However, if anomalies are detected, such as a login from an unfamiliar location, the app could adapt by triggering additional authentication steps. By incorporating adaptive security policies, Firebase App Check not only enhances the security posture of the app but also ensures a responsive and user-friendly experience tailored to the specific risk context.