• Documentation
  • knowledge base
  • Forums
  • Open A Ticket
  • Contact Us
  • Covid19
  • Shop
  • Documentation
  • knowledge base
  • Forums
  • Open A Ticket
  • Contact Us
  • Covid19
  • Shop
Popular Search:Getting Started

Firebase Rules Setup

259 views 0 May 14, 2020 wdp1wrlvyr

Firebase Rules Setup

In order to use firebase services like database and storage, you need to provide some additional set of rules to make it secure. Here is a quick tutorial for it.

Setting up Database rules:
  1. Navigate to your Firebase project.
  2. On the dashboard you can see the database, click open.

3. Click create database to create new database if you don’t have it.

 

4. Set the database rule for production mode and click next.

5. After that you need to select the location for your database and click done.

It will take a while to set up so please be patient

    6. After the database is created navigate to the rules tab of the database.

 

7. Replace the default rule with the given rule and hit publish.

Rule: allow read, write: if request.auth.uid != null

Setting up Storage rules:

1. Navigate to the Storage option in the dashboard.

 

 

2. Set secure rules for the Firebase storage.

Click next and then set the region and click done.

3. Navigate to the rules tab of the Storage.

You can leave the default rule as it is or make it more secure and then press publish.

 

Related Articles
  • Android Firebase Configuration
Leave A Comment Cancel reply

Android Firebase Configuration
  • Firebase Rules Setup
  • Android Firebase Configuration
Popular Articles
  • Android Firebase Configuration
  • FlameLink & Firebase integration in a Flutter App
  • Firebase Rules Setup
  • Create DialogFlow based Flutter Chatbot APK file
  • Publishing App to Apple Store
KB Categories
  • Publishing App on Apple Store
  • How to Create DialogFlow based Flutter Chatbot APK file
  • FlameLink FireBase Integration
  • Android Firebase Configuration
  • Signed APK
  • Privacy Policy
  • Terms of Use
  • © 2022 help.deligence.com. All Rights Reserved.