对oss做权限限制
1.策略编辑:
访问控制RAM---->策略管理---->自定义授权策略---->新建授权策略
{
"Statement": [
{
"Action": "oss:*",
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "oss:*",
"Effect": "Deny",
"Resource": [
"acs:oss:*:*:a",
"acs:oss:*:*:a/*",
"acs:oss:*:*:b/activity/*",
"acs:oss:*:*:b/ab/*",
"acs:oss:*:*:b/aeaeae/*",
"acs:oss:*:*:b/comment/*",
"acs:oss:*:*:b/dd/*",
"acs:oss:*:*:b/kk/*",
"acs:oss:*:*:b/label/*",
"acs:oss:*:*:b/poduct/*"
]
}
],
"Version": "1"
}
权限帮助文档
https://help.aliyun.com/document_detail/28663.html?spm=5176.2020520153.10402.d2.Tj31jH
2.用户创建
访问控制——》用户管理——》新建用户——》保存AccessKey ID和密码
为这个用户授权,选择自定义添加的策略
3.使用方式
①oss第三方工具
https://oss.aliyuncs.com/marketsupplier1188576972723562/902f5cdc-142e-44b7-93bf-1bfacd3c7158.zip?spm=5176.730006-cmgj000281.102.9.XeVcZy&file=902f5cdc-142e-44b7-93bf-1bfacd3c7158.zip
可以很方便的管理oss中的文件
②ossfs 类似nfs挂载
https://help.aliyun.com/document_detail/32196.html?spm=5176.doc32204.6.962.f7MCbR
③支持OSS的FTP云工具Windows版本(云顶云&Ftp4oss出品)
https://market.aliyun.com/products/53690006/cmgj000208.html#sku=biaozhunban