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
🚧 PLEASE NOTE: This masterclass is built with the Options API
The Composition API Masterclass is coming soon!
Sign-up for the Vue.js Masterclass 2024 Edition.
In this lesson, we secure the user's avatar by putting Firebase Storage rules into place. The rules do 2 things for us:
- They allow anybody to view the image while preventing anybody but the uploader to modify the image
- Validate the file type to ensure the file upload is an image