3.5 Firebase Storage Setup

  • From your Firebase console, go to Build>Storage and then Click on Get Started, and then select Start in production mode and Next>Done.

  • Now, go to the Rules tab and copy and paste the following code there.

Storage Security Rules
rules_version = '2';
service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
    	allow read:  if true;
      allow write: if request.auth != null;

3. Click on Publish to publish the rules.

Last updated