Vue.js 3 Options API Masterclass
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

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