Google云存储-签名的URL-一次性访问 [英] Google cloud storage - signed urls - one time access

查看:53
本文介绍了Google云存储-签名的URL-一次性访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们计划将Google云端存储与我们可以提供给用户的签名网址一起使用.

we are planning to use Google cloud storage with signed urls that we can give to users.

因此我们上传了一个文档生成签名的网址(使用此处提到的详细信息: https://developers.google.com/storage/docs/accesscontrol#Signed-URLs )

So we upload a document Generate the signed url (using the details mentioned here: https://developers.google.com/storage/docs/accesscontrol#Signed-URLs)

问题是Google(或)aws等.它们提供了URL的过期时间(例如:几分钟/几小时/几天等.)但是我们希望这些URL在一定数量的请求后过期

The issue is that google (or) aws etc.. they provide expiration time for the URLs (say : few min/ few hours/ few days etc..) But we want the urls to expire after certain number of requests

让我们说,我生成了URL并发送给我的用户(大约有4个小时的到期时间),并且我们希望该URL在用户第二次访问该URL后过期(当用户第三次访问该URL时,(google)不应返回数据.

Let us say, I generate the URL and send to my user (with some 4 hrs expiration) and we want that url to expire after user access the URL for 2nd time (when the user access the URL for 3rd time, it (google) should not return the data.

这可能吗?

推荐答案

当前不可能.

这篇关于Google云存储-签名的URL-一次性访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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