Skip to content

How to use AppCheck #6017

Closed
Closed

Description

@topperspal

I need to restrict access to Supabase only from my android app using signing key or some other solution.
In firebase or NodeJS apps I use AppCheck but please let me know how I can make some sort of restrictions using supabase.

If there is no functionality then please let us know how we can use AppCheck with Supabase

Activity

  1. added
    documentation
    on Mar 23, 2022
  2. kiwicopple commented on Mar 24, 2022

    @kiwicopple
    Member

    Dropping this here for future investigation:
    https://firebase.google.com/docs/app-check

    I don't know how to use App Check with Supabase (tbh I've not used App Check yet). If anyone is able to help with an initial investigation that would be very much appreciated!

  3. added
    enhancement
    on Mar 24, 2022
  4. anggoran commented on Apr 5, 2022

    @anggoran

    I think this should be "new feature" and prioritized (?). AppCheck along with RLS authorization will help preventing abuse of database and functions usage from malicious user and an app that isn't authentic. For instance from what I know, mischevious web/app use our authentic login just to imitate that we authentically provide the login, then the web/app require a credit card, and users don't know and input theirs (correct me if i'm wrong please)

  5. kiwicopple commented on Apr 7, 2022

    @kiwicopple
    Member

    We're working on several security enhancements right now. They won't be using AppCheck - I'm not too sure if that's even feasible with Supabase. Instead they will be natively built in to every project - allow/ban-listing IPs, security reports and checklists, firewalls, custom API keys, etc. (DDoS protection is already available)

  6. topperspal commented on Apr 7, 2022

    @topperspal
    Author

    Allow/ban IPs can help in website only, what about mobile apps where we need to allow every IP address.

    As far as I know, firebase app check for android uses sha key to validate the app original app.

  7. locked and limited conversation to collaborators on May 9, 2022
  8. converted this issue into a discussion #6737 on May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions