官术网_书友最值得收藏!

Security

As per the security concern, every database has a different way of securing data from unauthorized users:

Source: https://firebase.google.com/docs/firestore/rtdb-vs-firestore?authuser=0.

Realtime Database Cloud Firestore
Cascading rules that require separate validation.
  • Firebase Database Rules are the only security option.
  • Read and write rules cascade.
  • You need to validate data separately using .validate in the rule.
Simpler, more powerful security for mobile, web, and server SDKs.
  • Mobile and web SDKs use Cloud Firestore Security Rules, and server SDKs use Identity and Access Management (IAM).
  • Rules don't cascade unless you use a wildcard.
  • Data validation happens automatically.
  • Rules can constrain queries; if a query's results might contain data the user doesn't have access to, the entire query fails.

As of now, Cloud Firestore i s available in beta version; so, in this book, we are only focusing on Realtime Database.
主站蜘蛛池模板: 宣化县| 莆田市| 马边| 海南省| 阿瓦提县| 灌云县| 泰安市| 民和| 寿光市| 桐柏县| 南阳市| 澎湖县| 三河市| 宜兰县| 安阳县| 吕梁市| 兴仁县| 思南县| 双鸭山市| 榆中县| 嵊泗县| 石阡县| 台中县| 东海县| 威远县| 安平县| 汶上县| 凤山市| 通城县| 信丰县| 嘉定区| 益阳市| 随州市| 祁阳县| 长岛县| 亳州市| 新干县| 汝阳县| 稻城县| 荔波县| 英山县|