限制访问 GCS 存储桶,但保持 Cloud CDN 对所有人可访问。

huangapple go评论65阅读模式
英文:

Restrict access to GCS bucket but keep up Cloud CDN accessible to everyone

问题

我是新手使用Google Cloud,最近我已经将存储桶设置为云CDN的源。一切都很顺利,但我有一个问题。您是否可以以及如何私有访问存储桶,以便获取数据的唯一方式是通过云CDN的IP,而不是通过storage.googleapis.com/bucketname/filename?

英文:

I'm new to Google Cloud and recently I've set up the bucket as the origin for cloud CDN. All is fine but I have a question. Can you and if so how private access to the bucket, so the only way to get the data is through cloud cdn IP not through storage.googleapis.com/bucketname/filename

答案1

得分: 1

我同意JohnHanley先生提到的。将这些信息发布为答案,以便其他用户了解此问题。

基本上,根据Hanley先生提到的内容,您所依据的是Cloud Storage权限,对于严格的访问以及授权用户,您可以使用签名URL

英文:

I agree with Mr @JohnHanley mentioned. Posting this information as an answer for other users to understand this concern.

Basically what you based on what Mr Hanley mentioned is Cloud Storage permission and for strict access and for authorized user you can use signed url

huangapple
  • 本文由 发表于 2023年6月26日 05:30:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/76552486.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定