0
votes

Since HTTP auth seems impossible on Firebase Hosting, is there a quick hack like the "obfuscating folder" here: Github Auth Proxy to protect my app source code pre release?

Like changing some rewrites in firebase.json?

I tried stuff like this (which does not work):

"rewrites": [
  {
    "source": "**",
    "destination": "/uselessIndex.html"
  },
  {
    "source": "/supersecretFolder",
    "destination": "/index.html"
  }
]

Btw.: The recommended solution is a bit overkill for my purposes: Protect with Cloud Functions

1

1 Answers

0
votes

It's not possible to "protect" any content deployed to Firebase Hosting. Once deployed, the content is all accessible for anyone who knows the URL. There is no obfuscation.