Firebase中的开发计划是否容易"DoSsable"? [英] Development plan in Firebase easily "DoSsable"?

查看:56
本文介绍了Firebase中的开发计划是否容易"DoSsable"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

firebase中的开发计划的硬限制为"50个连接".

The development plan in firebase has a hard limit of "50 connections".

连接是到我们服务器的开放式网络连接.这是对同时使用您的应用或网站的用户数量的衡量.

A connection is an open network connection to our servers. It’s a measure of the number of users that are using your app or site simultaneously.

意味着打开我的应用程序的2个浏览器选项卡的用户使用2个保持打开状态的连接,直到他关闭这些选项卡(或应用程序决定关闭连接).

Meaning that a user that opens 2 browser tabs to my application, uses 2 connections that stay open until he closes the tabs (or the application decides to close the connection).

这不是说我的应用程序很容易成为DoS攻击的目标吗?我的意思是,任何坏蛋都可以简单地写

Doesn't this mean that my application could be an easy target for DoS attacks? I mean, any bad guy could simply write

for(var i = 0; i < 51; i++) window.open('http://www.firebaseapp.com');

在JavaScript控制台中

可以禁止其他客户端访问任何数据. 还是不?

in a javascript console to disable access for other clients to any data. Or not?

我是否必须使用任何(my-)服务器端代码,检查ip等来防止这种情况?

Do I have to prevent this with any (my-)server side code, checking for ip's and such?

推荐答案

不用担心针对您的Firebase的DDoS攻击.他们会为您密切注意这种事情.

Don't worry about DDoS attacks against your Firebase. They keep an eye on that kind of stuff for you.

如果您有付费计划,则定价基于第95个百分点您的并发连接数.换句话说,如果这些突发流量不到您流量的5%,那么就没问题了.

If you have a paid plan, pricing is based on the 95th percentile of your concurrent connections. In other words, if those bursts are less than 5% of your traffic, it's no problem anyway.

话虽如此,如果您怀疑自己的Firebase被DDoS攻击,请对Firebase的支持团队进行操作.

All that being said, if you suspect your Firebase is being DDoS'ed, ping Firebase's support team.

这篇关于Firebase中的开发计划是否容易"DoSsable"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆