1

I want to protect images from being hotlinked on my firebase hosted site. Keep in mind these images are not located in the storage area of firebase where I know rules can be deployed. Is there a way to disable hotlinking in the header config or elsewhere?

I have consulted the hosting docs, but I am not sure what I am trying to achieve is possible.

tbone849
  • 925
  • 8
  • 18
  • 1
    Download URLs are public and non-guessable. There are no access controls on them beyond that. – Frank van Puffelen Apr 25 '19 at 22:25
  • @FrankvanPuffelen Ok. Thanks. – tbone849 Apr 26 '19 at 13:19
  • I now see that you actually asked about files on hosting. My reference to download URLs was related to Cloud Storage for Firebase. There are definitely no access controls on Firebase Hosting. See https://stackoverflow.com/questions/27212004/can-firebase-hosting-restrict-access-to-resources – Frank van Puffelen Apr 26 '19 at 14:02

0 Answers0