Setting Object Lock

Last Updated At: 2025-10-21 09:10:00

Overview

You can enable the object lock feature through the console to ensure that the object cannot be overwritten or deleted within a set period.

Directions

  1. Log in to the COS console.
  2. In the left sidebar, click Bucket List, and go to the bucket list page.
  3. Click the bucket for which you want to set an object lock to enter the file list page.
  4. In the left sidebar, select Security Management > Object Locking and click Modify to change the current status to Enabled.
  5. Enter the lock duration in the configuration window and click Save.