I would like to use this rule but firebase keeps reverting it
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{address}/{allPaths=**} {
allow write: if resource==null;
}
}
}
I don't want users to be authenticated, there is no authentication for this site. I am only allowing them to write if something isn't in that spot. The rule works for a tiny bit but then stops. This isn't sensitive data and data security isn't important for this app.
It sounds like you may be running firebase deploy
, which can optionally include storage security rules and replaces whatever you had if it does.