Object Lock
The Object Lock feature of Arvancloud Object Storage lets you protect objects (files) from deletion or overwriting for a specific period or permanently. This feature works in a "write once, read many" or WORM (Write Once Read Many) way.
By enabling this feature, you can lock data that must be kept unchanged (for example, for legal purposes or critical backups) and be sure it can't be changed or deleted during the specified period.
By enabling Object Lock, you get the following benefits:
- Protection against accidental or malicious deletion or overwriting
- Keeping sensitive or critical information in line with legal requirements
- Keeping a copy of information as a permanent or periodic archive
- Protecting backups and financial reports against unwanted changes
Enabling Object Lock
To use Object Lock, you must enable it when creating the bucket. After the bucket is created, this option can no longer be enabled or disabled.
Log in to the Arvancloud panel and click New Bucket in the Object Storage menu.
On the new page that opens for the bucket settings, enable Object Lock.
Note that to use Object Lock, versioning must be enabled on the bucket, because locking is applied to a specific version of a file, not the whole file.
After enabling it, you can set the period you want in the Default Retention Period field.
To use this feature, note the following:
- After Object Lock is enabled, it can't be disabled.
- After a lock is applied to an object, that version of the file can't be deleted or overwritten until the specified time ends.
- If a new file with the same name is uploaded, a new version of that object is created, independent of the previous version.
Finally, after completing the settings, create the bucket.
Managing the Retention Period
After creating a bucket with Object Lock enabled, you can always increase the retention period, but you can't reduce it or remove the lock.
To do this, log in to the Arvancloud panel and click the actions menu next to the bucket you want in the bucket list.
By selecting Object Lock, you can increase the default retention period.
To comply with data protection rules, the retention period can't be reduced.