Firebase Rules with facebook Authentication and Unique IDs
问题 I'm looking for some advice or a possible solution with tightening up my firebase rules. This is my user tree in Firebase: users |_male |_uid |_female |_uid The UID will be an epoch timestamp when the account is created which will be a signed integer. These are the firebase rules which basically ensures the user has logged in and authenticated with Facebook before they can read or write to users: "users": { "male":{ ".indexOn": ["uid"] }, "female":{ ".indexOn": ["uid"] }, ".read": "auth !=