acl - Google 存储只写(不可删除)

标签 acl google-cloud-storage role google-cloud-platform

我想使用 Google 存储来备份我的数据库。但是,出于安全原因,我想使用具有只写角色的“服务帐户”。

不过这个角色好像也可以删除物体!那么我的问题是:我们能否让一个桶真正做到“只写,不删除”?当然如何?

最佳答案

现在可以通过 Google Cloud Storage Object Creator 角色 roles/storage.objectCreator 实现这一点。

https://cloud.google.com/iam/docs/understanding-roles#storage.objectCreator

关于acl - Google 存储只写(不可删除),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27933996/

相关文章:

grails - 如何使用 Spring Security 插件获取当前用户角色?

postgresql - 如何使具有权限的一个用户postgresql仅执行功能

inline - 如何通过在 python-sphinx 中使用角色来使用唯一的内联指令?

active-directory - Ldap查询获取ACL

php - Magento 自定义 ACL 默认返回 TRUE

macos - 在 Mac OS X 上使用 Symfony 中的应用程序/控制台

android - 如何防止谷歌云存储重定向

java - 如何实现自定义spring security acl?

java - 使用 Java API 将文件上传到 GCS 时 CPU 使用率过高

javascript - 使用 node.js 为 Google Cloud Storage 创建签名 URL,以便从浏览器直接上传