Firebase Rules: Allow only Specific URL?
问题 I have a firebase realtime database. And i have a "like" button app for my website. But my database is not safe, because everyone can write to my database. I want is : "allow only incoming data from my website. And block incoming from other sites" For example: { "rules": { ".read": true, ".write": allow only incoming data from "www.example.com" and block incoming from other sites } } How can I do this? Or how can I set this rule on Firebase console? 回答1: If I understand correctly what you are