Rate Limiting on Firebase Hosting

前端 未结 2 1653
我在风中等你
我在风中等你 2021-02-14 03:25

I\'ve been searching for ways to rate limit requests by IP, but was not able to find any resources. Basically what I\'m looking is a way to implement firewall logic. I know that

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-14 04:09

    Firebaser here.

    There is currently no way to rate-limit based on IP address with Firebase Hosting. Our CDN partner includes some built-in protection against (D)DoS attacks, but this is not presently configurable. In the future we plan to have cost controls so you can manually set your own global usage limit to prevent unexpectedly large bills.

    In the meantime, we find that this generally isn't a problem. If you do run into usage that you suspect is abuse, please reach out to Firebase support and we'll work with you to resolve the situation to everyone's satisfaction.

提交回复
热议问题