设置安全规则 w/o 仪表板

Setting Security Rules w/o Dashboard

Firebase 数据库的所有者是否可以通过浏览器或 curl 或仪表板以外的其他方式设置安全规则?

google 组针对 firebase 给出了两个答案: https://groups.google.com/forum/?hl=en#!topic/firebase-talk/LwSddjJclxY 一种是 REST 方法,另一种使用配置文件,firebase.json.