title: How to enable "Share publicly" when uploading a file to Firebase storage?
body: <p>Firebase Storage uses Google Cloud Platform for storage. GCP allows the option "Share publicly" on files to be able to view such files in a browser.</p>
  
  <p>Here is the <a href="https://cloud.google.com/storage/docs/hosting-static-website" rel="noreferrer">GCP documentation on this topic</a>.</p>
  
  <p>Here you can see the option available via the GUI on the GCP console.</p>
  
  <p><a href="https://i.stack.imgur.com/r0xHH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/r0xHH.png" alt="enter image description here"></a></p>
  
  <p>Is it possible to enable the public option when uploading a file via Firebase?</p>
  
  <p>Edit: I've enabled public reading on the whole bucket although it's not ideal.</p>
  
  <pre><code>gsutil defacl ch -u allUsers:R gs://&lt;bucket&gt;
  </code></pre>