Search code examples
firebasesecurityfirewallfirebase-hostingpenetration-testing

Firebase Hosting doesn't has firewall?


Having one of application hosted on Firebase with some additional services there (Cloud Firestore, Cloud Storage for Firebase, Cloud Functions for Firebase) decided to make some security scanning. One of the tools https://sitecheck.sucuri.net/ shows me that there's no firewall for it, is it possible? It has reverse proxy & Fastly's CDN, but would be a firewall missing for apps hosted on Firebase Hosting?


Solution

  • Firebase hosting resources access is unfortunately not restricted by any means, check out the question below?

    Can Firebase restrict access to resources?

    However, There are things you can do in the regard of security:

    1. Use Cloud functions to render dynamic resources and microservices

    2. Use Firestore rules to secure the data access

    3. Use Firebase authentication to make sure that only authenticated users can do certain actions

    Even though, we all hope for that firewall option to be added.

    Best Regards