Download Firebase JSON Data - firebase

Since I was unable to access my Gmail account after using a VPN, is it possible to download real-time Firebase JSON data? I know that Firebase can be deleted using Curl, but what about downloading it? I already have the token and URL for this.
I haven't tried anything yet because I don't know how to do this.

Related

Firebase (Flutter) - App Check fails when trying to access resource on Cloud Storage through getDownloadUrl()

I am using getDownloadUrl() to get the download URL for a Cloud Storage resource. Recently, I just enabled AppCheck on my Firebase app, and this download URL is requiring a AppCheck token to access. This behavior makes sense, but I was wondering if there is a built in way to do this? For most Firebase SDKs, the AppCheck token is passed automatically, but there does not seem to be a built in method to get that same automatic behavior with a download URL.
I have a theoretical solution in mind, and this is to pass the AppCheck token as a header in the request for the URL, but there's no documenation on this and I have no idea what header to pass this token in. I am using Flutter, and I am accessing an image resource through a CachedNetworkImage. Any insight in how I could pass AppCheck without using a Firebase SDK would be greatly appreciated.
You're supposed to be able to use getBlob or getBytes but I can't get it to work. CORS fails for me.
https://firebase.google.com/docs/storage/web/download-files#download_data_directly_from_the_sdk

How do I connect my Firebase database to a Google script?

I am trying to put pictures that are on Firebase into a google Drive by using google App script. I've no code, I only tried reading the documentation, but it seems to be deprecated. There seems to be a way to use an Oauth token but I could not find a token on my firebase database.
I go into a lot of detail about using OAuth2 and service accounts with Google Apps Script in this story on Medium.
I suppose you want to use Firebase storage? The approach should be similar:
Create a service account
Use the OAuth2 library to generate a Bearer token
Use that token with the API call via UrlFetchApp
It would help if you shared more details on what you're trying to achieve, but this should set you on the right track.

How to allow users to download from firebase storage

I have looked on the docs and couldn't find the mention of a file downloading directly to the user from my firebase storage. I saw CORS but is that what I need to use?
I want a user to click on a download symbol on a picture and be able to get it.
Thanks!
CORS is one way of handling http requests, intended to help you control cross-origin requests. That is unrelated to getting a download link for a file in Firebase Storage. What you want is documented here: https://firebase.google.com/docs/storage/web/download-files

Send and receive messages from firebase database through chrome extension

I followed this setup to authenticate my extension with firebase.
https://github.com/firebase/quickstart-js/tree/master/auth/chromextension
I want to push data and receive messages from the firebase db. I registered on the gcm client app. Not sure how to proceed next.
You will find this quickstart helpful. Specifically take a look at https://github.com/firebase/quickstart-js/blob/master/database/scripts/main.js
.. it will show you how to go about Firebase architecture in a JS environment like Chrome.

Firebase encryption at rest

I really enjoy using Firebase, and I would like to use it in a new app, but the app would have the user upload sensitive information.
I know Firebase uses https, but looking around, it seems Firebase does not yet make encryption at rest available.
Is there a way around this to use Firebase and still make an administrator unable to read the data from the Firebase Forge, for instance?
Thank you.
If you encrypt all data that you store in Firebase with a key that is only known to the client, it will not be readable by anyone but that client.
Update (20160528): As of a few months ago all data for the Firebase Database is also encrypted at rest.

Resources