Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue.js 3 Options API Masterclass

Securing Files with Firebase Storage Rules thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Securing Files with Firebase Storage Rules

🚧 PLEASE NOTE: This masterclass is built with the Options API

The Composition API Masterclass is coming soon!

In this lesson, we secure the user's avatar by putting Firebase Storage rules into place. The rules do 2 things for us:

  1. They allow anybody to view the image while preventing anybody but the uploader to modify the image
  2. Validate the file type to ensure the file upload is an image