This operation enables you to modify inactivated WORM policies of a bucket, including modifying names and protection periods of objects.
Prerequisites
- You have obtained the access certificate and security certificate of an activated account.
- A bucket has been created.
- The WORM policy has been configured in the bucket.
- The WORM policy has not been activated after it is configured for a bucket. The WORM policy can be modified within 24 hours. (If the WORM policy has not been activated after 24 hours, the WORM policy automatically becomes invalid.)
Procedure
- Choose Services > Object Service > Bucket.
- Enter the access certificate and security certificate of the account and click Authenticate.
- You can also choose Service > Object Service > Account, click the name of the desired account, and click the Bucket tab.
- You can perform authentication on either of the Bucket or User tab page.
- Click More on the right of the desired bucket and select Manage WORM.
The Manage WORM dialog box is displayed.
- Click More on the right of the desired WORM policy and select Modify.
- Modify the name and protection period of the object as required.
- Wildcard (*) matching is supported, that is, a protection period is set for all objects that match the wildcard. If wildcard (*) is not specified, a protection period is set for a single specific object.
- You cannot set multiple protection periods for the same object.
For example, AB* contains all objects whose names start with AB, such as AB, ABC, and AB123. If you have set a protection period for AB*, you cannot set a protection period for any object whose name starts with AB. If you have set a protection period for an object whose name starts with AB, you cannot set a protection period for AB*.
- The WORM policy takes effect only for objects uploaded to the bucket after WORM is enabled.
- After the modification is complete, click
to confirm the modification. - Click Save to save the WORM policy of the bucket.
If you need to activate the WORM policy later, go to the page again to activate the WORM policy.
- (Optional) Click Save and Activate to activate the WORM policy.
- If the WORM policy is not activated within 24 hours after it is configured, the WORM policy only takes effect within 24 hours and gets invalid in 24 hours.
- If the WORM policy is not activated after it is configured, the WORM policy can be modified or deleted within 24 hours.
- After the WORM policy is activated, it cannot be modified or deleted.