Skip to content

Security issues: Missing Firebase db security rules #23

Closed
@edguerrade

Description

@edguerrade

I'm concerned that there is no mention (or I don't see it) to security rules on firebase db. I know this is a kind of boilerplate or introductory tutorial, but if the focus is in React + Firebase it should be a must!

It would be so helpful to add some rules, i.e:

  • Messages should only be edited by the owner.
  • Only user with role admin should have the permissions to see users' data (or own logged user data), on boilerplate are only restricted by route's condition.
  • Some kind of validation rule, maybe a message length (just for introducing us).

I'm introducing myself to Firebase, reading the security documentation, trying to manage those rules but, despite the simplicity, it's a little confusing without real example. Maybe anyone could shed light on this matter.

Sorry about my English (I try to improve it).
Thanks a lot @rwieruch for your job!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions