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

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Securing Files with Firebase Storage Rules

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

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