是否可以使用 Google Cloud 限制对静态 html 网络文件的访问?

Is it possible to restrict access to static html webfiles with Google Cloud?

我想部署一个静态网站(html、css、js)并根据用户的身份验证限制对 html 文件的读取权限。使用 Google Cloud 及其身份平台是否可行? 现在我仍在使用 Firebase,但似乎无法限制对静态文件本身的访问。

感谢您的帮助!

您可以使用 GCP 产品 Cloud Storage 来 host your static website, and define who has access to your Cloud Storage buckets and objects and what level of access they have with either Cloud Identity and Access Management (Cloud IAM) or Access Control Lists (ACLs)