Use Firebase Storage Without Using Firebase Authentication

No Firebase Authentication…

Danish Amjad
AndroidPub
2 min readJul 20, 2018

--

Image Source: https://code.tutsplus.com/tutorials/get-started-with-firebase-storage-for-ios--cms-30203

To use the Firebase Storage we need to authenticate a user via Firebase authentication.

The default security rules require users to be authenticated.

Firebase Storage is basically a powerful and simple object storage, in which you can store your files easily.

Firebase Storage Default Settings:

How you can see this, first you need to go the storage and then go to rules so that you can see like below screenshot.

Image From : Firebase Console

How You can change the default settings:

First, you need to select the storage and then go to rules after that change this line

request.auth != null;

To

request.auth == null;

How it will look after changed this line, see the below screenshot.

Image From: Firebase Console

Now, you are able to use Firebase Storage without using Firebase authentication.

Happy Coding…:-)

Thanks for reading this article. Be sure to clap to recommend this article if you found it helpful. It means a lot to me.

If you need any help then Join me on Twitter, Linkedin, Github, and Subscribe to my Youtube Channel.

--

--

AndroidPub
AndroidPub

Published in AndroidPub

The (retired) Pub(lication) for Android & Tech, focused on Development

Danish Amjad
Danish Amjad

Written by Danish Amjad

Senior Mobile Engineer (Android). Open Source Contributor, Technical Writer, ✉️ Dani.amjad12@gmail.com 🔗 https://danishamjad12.github.io