Installation & Firebase setup

In this lesson, we have created a Firebase project and setup it with our VueJS project using the Vue CLI.

Lesson Discussions

doctorwolf posted 2 years ago on

Hi Subham, many thanks for the great course! :clap:

A couple of questions regarding security:

  • as all code handling firebase ends up in the built vuejs application, is it possible for a user to tamper with variables/state? For example, setting isAuthenticated to true from the browser/devtools and then acting maliciously?

  • Same goes with firebase credentials that are available to the app in firebase.js (or from ENV, but I understand that after build they have to be somewhere in the resources downloaded from netlify). Is there a mechanism that does not allow the user consuming the app to see the firebase credentials?

Many thanks