The Black Horse
The Black Horse

Reputation: 2358

Restrict Firebase Realtime Database data request limit

In Firebase Realtime Database I want to set limit for number of data read request per user or per IP. Similar like Firebase Authentication Limits(e.g New account creation 100 accounts/IP address/hour)

Is there any way to achieve this in Firebase Realtime Database ?

Upvotes: 3

Views: 925

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317692

The only way to implement this would be to force client apps through a backend API that you control. That API will have to record the amount of data read per IP, and reject requests that exceed your limits.

Otherwise, there is no way to impose limits as you describe. It's not a matter of simple configuration.

Upvotes: 2

Related Questions