Found 0 result in total

Content is empty
If you don't find the content you expect, please try another search term
Standard Storage Service (KS3)
Access Control Management
Examples of bucket policies
Restrict access requests that have a specific request header
Last updated:2021-08-20 12:02:02
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"ks3:*"
],
"Principal": {
"KSC": [
"*"
]
},
"Resource": [
"krn:ksc:ks3:::example_bucket",
"krn:ksc:ks3:::example_bucket/*"
],
"Condition": {
"StringEquals": {
"ksc:RequestHeader": [
"x-kss-cdn:kingsoftcdn"
]
}
}
}
]
}
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"ks3:*"
],
"Principal": {
"KSC": [
"*"
]
},
"Resource": [
"krn:ksc:ks3:::example_bucket",
"krn:ksc:ks3:::example_bucket/*"
],
"Condition": {
"StringLike": {
"ksc:RequestHeader": [
"x-kss-cdn:*"
]
}
}
}
]
}
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"ks3:*"
],
"Principal": {
"KSC": [
"*"
]
},
"Resource": [
"krn:ksc:ks3:::example_bucket",
"krn:ksc:ks3:::example_bucket/*"
],
"Condition": {
"StringNotLike": {
"ksc:RequestHeader": [
"x-kss-cdn:*"
]
}
}
}
]
}
Pure Mode