This operation enables you to set the bucket permission.
You have obtained the access certificate and security certificate of an activated account.
You can perform authentication on either of the Bucket or User tab page.
The Manage Permission page is displayed.
The owner of the bucket has full control of the bucket. Other users cannot access the bucket without authorization.
All users can read objects in the bucket, and only the bucket owner has the write permission.
All users can read, write, or delete objects in the bucket.
For data security, you are advised to select Private.
The Create Bucket Policy dialog box is displayed.
Parameter |
Description |
|---|---|
Policy Mode |
Indicates the mode of the bucket policy. Possible options are as follows:
NOTE:
Only one policy mode can be configured at a time. |
Authorized User |
User on which the bucket policy takes effect. Possible options are as follows:
|
Account ID |
Indicates the account ID of the specified user. NOTE:
This parameter is valid only when Authorized User is set to Another Account. |
Username |
Indicates the user name of the specified user. NOTE:
When Authorized User is set to Current Account, click Select and select a user of the current account. When Authorized User is set to Another Account, enter the user name of another account. |
Bucket Resource |
Indicates the resources that the bucket policy applies to. Possible options are as follows:
[Value range] The value is an object or object set, and the format is as follows: Object: object name Object set: prefix of the object name + wildcard (*), wildcard (*) + suffix of the object name, or wildcard (*). NOTE:
For a file bucket, a bucket policy only supports taking effect on the entire bucket and does not support taking effect on specific objects in the bucket. Enter a wildcard (*) to indicate the entire bucket. |
The Modify Bucket page is displayed.
Parameter |
Description |
|---|---|
Policy Mode |
Indicates the mode of the bucket policy. Possible options are as follows:
NOTE:
Only one policy mode can be configured at a time. |
Authorized User |
Indicates the user on which the bucket policy takes effect. Possible options are as follows:
|
Account ID |
Indicates the account ID of the specified user. NOTE:
This parameter is valid only when Authorized User is set to Another Account. |
Username |
Indicates the user name of the specified user. NOTE:
When Authorized User is set to Current Account, click Select and select a user of the current account. When Authorized User is set to Another Account, enter the user name of another account. |
Bucket Resource |
Indicates the resources that the bucket policy applies to. Possible options are as follows:
[Value range] The value is an object or object set, and the format is as follows: Object: object name Object set: prefix of the object name + wildcard (*), wildcard (*) + suffix of the object name, or wildcard (*). NOTE:
For a file bucket, a bucket policy only supports taking effect on the entire bucket and does not support taking effect on specific objects in the bucket. Enter a wildcard (*) to indicate the entire bucket. |
If the standard bucket policy conflicts with the advanced bucket policy, the advanced bucket policy prevails.