Skip to Content
Serverless Web Applications with React and Firebase
book

Serverless Web Applications with React and Firebase

by Mayur Tanna, Harmeet Singh
April 2018
Intermediate to advanced content levelIntermediate to advanced
284 pages
6h 43m
English
Packt Publishing
Content preview from Serverless Web Applications with React and Firebase

Realtime Database Rules Overview

Firebase Database Rules allow you to manage the read and write access permissions to your database. They also help you define how your data will be validated, such as whether it has valid datatype and format. If your rules allow, only then will read and write requests be completed. By default, your rules are set to allow only authenticated users with full read and write access to your database.

Firebase Database Rules have a JavaScript-like syntax and come in four types:

.read

It determines whether data is allowed to be read by users and when.

.write

It determines whether data is allowed to be written by users and when.

.validate

It validates whether a value is correctly formatted, has child ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Web Applications with Firebase

Building Web Applications with Firebase

Gareth Brown
React Native in Action

React Native in Action

nader dabit, Nickie Buckner

Publisher Resources

ISBN: 9781788477413Supplemental Content