What would be the correct database rules to allow anybody to read the property names, but prevent people without auth to read the content of the values. This is an order system, where I check if there are the same IDs before setting a property value. Or is there another way I can do this? Thank you.
Here is what I have figured out so far.
{
"rules": {
"orders": {
".read": true,
".write": true,
}
}
}