[英]Restrict access to a Google Cloud bucket to a certain IP range
I wanted to check if it's possible to restrict access to a Google Cloud bucket to a certain IP range and if yes how can we restrict the access.我想检查是否可以将对 Google Cloud 存储桶的访问限制在某个 IP 范围内,如果可以,我们如何限制访问。 We are exposing our cloud bucket to a vendor and we want to restrict the bucket access only to the vendors IP range.
我们正在向供应商公开我们的云存储桶,并且我们希望仅将存储桶访问权限限制在供应商 IP 范围内。
The best solution for this is VPC Service Controls .最好的解决方案是VPC Service Controls 。 This allows you to define a service perimeter that includes your project's GCS service and add an access level to allow access from the IPs you want.
这允许您定义一个包含项目的 GCS 服务的服务边界,并添加一个访问级别以允许从您想要的 IP 进行访问。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.