Firebase托管可以限制对资源的访问吗? [英] Can Firebase hosting restrict access to resources?

查看:76
本文介绍了Firebase托管可以限制对资源的访问吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以根据用户是否登录来限制对资源(即index.html)的访问?也许是.htaccess之类的东西?

Is it possible to restrict access to a resource (i.e. index.html) depending on whether the user is logged in or not? Maybe something like .htaccess?

推荐答案

否. Firebase托管不实施对静态资源的访问控制.

No. Firebase hosting doesn't implement access control to static resources.

另请参阅此问题注释中的讨论:没有AngularFire的Firebase路由安全性

Also see the discussion in the comments of this question: Firebase route security without AngularFire

这篇关于Firebase托管可以限制对资源的访问吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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