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

The Vue.js 3 Masterclass

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

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