基于IP地址的Google存储访问 [英] Google Storage access based on IP Address

查看:128
本文介绍了基于IP地址的Google存储访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以根据其来自的IP地址授予对Google Cloud Storage存储桶的访问权限.

Is there a way to give access to a Google Cloud Storage bucket based on the IP address it is coming from.

在Amazon s3上,您可以像这样在访问策略中进行设置:

On Amazon s3, you can just set this in the access policy like this:

"Condition" :  {
       "IpAddress" : {
          "aws:SourceIp" : ["192.168.176.0/24","192.168.143.0/24"]
      }
}

我不想使用签名的网址.

I do not want to use a signed url.

推荐答案

更新:现在可以使用否,目前无法实现.

当前存在功能请求,以按IP地址限制Google云存储桶.

There's currently a Feature request to restrict google cloud storage bucket by IP Address.

这篇关于基于IP地址的Google存储访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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