rate-limiting

Firebase rate limiting in security rules?

故事扮演 提交于 2019-11-26 02:54:36
问题 I launched my first open repository project, EphChat, and people promptly started flooding it with requests. Does Firebase have a way to rate limit requests in the security rules? I assume there\'s a way to do it using the time of the request and the time of previously written data, but can\'t find anything in the documentation about how I would do this. The current security rules are as follows. { \"rules\": { \"rooms\": { \"$RoomId\": { \"connections\": { \".read\": true, \".write\": \"auth