V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
POPOEVER
V2EX  ›  Firebase

Firebase 的数据库安全怎么做?

  •  
  •   POPOEVER · Nov 22, 2015 · 7001 views
    This topic created in 3815 days ago, the information mentioned may be changed or developed.
    访问权限怎么搞啊?
    2 replies    2016-04-14 14:25:05 +08:00
    POPOEVER
        1
    POPOEVER  
    OP
       Nov 25, 2015
    果然国内用的人还是少,貌似 stackoverflow 上面也没什么搜索结果
    Livid
        2
    Livid  
    MOD
    PRO
       Apr 14, 2016
    @POPOEVER 在 Security & Rules 那里自己写规则,比如如果你希望所有数据对所有人可读,但是只有验证用户才能写的话:

    {
    "rules": {
    ".read": true,
    ".write": "auth != null"
    }
    }
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2663 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:36 · PVG 21:36 · LAX 06:36 · JFK 09:36
    ♥ Do have faith in what you're doing.