Almost every tutorial is creating a firebase.js file where they store the api key, url etc. to access the real time database for example.
When opening the app in the browser tho this data is also readable for everyone. How do i do this securely? I tried a .env file with process.env.MY_VAR - but this did not work, Neither on build or local run.