保护Firebase托管链接,使其只能从特定IP访问 [英] Secure a firebase hosting link to only be accessible from a specific ip

查看:63
本文介绍了保护Firebase托管链接,使其只能从特定IP访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Web应用程序中使用angular 4 angularfire 2和firebase.我有条件将Firebase用作后端服务,并且因为该应用程序只能在办公室内使用,所以我想知道是否有任何方法可以配置一些Firebase规则或任何东西来使该应用程序无法工作或从另一个ip显示比办公室的IP.请留下任何我可以做到的方式.提前致谢!

I am using angular 4 angularfire 2 and firebase in an web app. I am conditionate to use firebase as a backend service and because the app has to only be used inside the office i am wondering if there is any way i can configure some firebase rules or anything to make the app not work or be shown from another ip than the office ip. Please leave any kind of way i can do it. Thanks in advance!

推荐答案

当前无法限制对部署到Firebase Hosting的网站的访问.永远可以从世界上任何不受任何其他防火墙阻止的地方访问它.

There is currently no way to restrict access to a site deployed to Firebase Hosting. It will always be accessible from anywhere in the world that is not blocked by some other firewall.

这篇关于保护Firebase托管链接,使其只能从特定IP访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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