My firebase storage rules are
service firebase.storage {
match /{allPaths=**} {
allow read: if request.auth != null;
}
}
I am logged out of google and in a chrome browser (incognito mode) and I enter the url I got from firebase.storage (the download url link). I can still download the file. How do I secure the files to only allow downloads if the user has been authenticated by firebase.authentication?
My files are in the root firebase.storage location.
I have also tried
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read: if request.auth != null;
}
}
}
There is a revoke download url url in firebase.storage but it doesn't seem to do anything at all.