In my Firebase security rules, I want anonymous users to be able to read anything but one field ( secret_field ):
{ "rules": { ".read": true, ".write": "auth != null", "stuff" : { "$stuffID" : { "secret_field" : { ".read" : "auth != null" } } } } }
However, in Firebase, if a read rule on the path to secret_field evaluates to true, read access is granted on the secret field .
Is there any way to undo this behavior? (If any read rule on the path to secret_field evaluates to false, deny read access)
source share