Title: Make deleteobject optional for AWS S3
Last modified: July 15, 2020

---

# Make deleteobject optional for AWS S3

 *  Resolved [mikewps](https://wordpress.org/support/users/mikewps/)
 * (@mikewps)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/make-deleteobject-optional-for-aws-s3/)
 * Hi,
 * Is it possible to make deleteobject checking optional when adding S3 remote storage?
 * S3::deleteObject(): [AccessDenied] Access Denied
 * The reason is I don’t want anyone to delete the backup if my website was compromised.
   I can set the backup expiry to auto delete backup in S3.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * (@tonyrobins)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/make-deleteobject-optional-for-aws-s3/#post-13127153)
 * Hi [@mikewps](https://wordpress.org/support/users/mikewps/)
 * Thanks for reaching out to us.
 * We are going to discuss this soon and will keep you posted on any updates.
 * Kind Regards,
 *  Plugin Support [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * (@tonyrobins)
 * [6 years ago](https://wordpress.org/support/topic/make-deleteobject-optional-for-aws-s3/#post-13129065)
 * Hi [@mikewps](https://wordpress.org/support/users/mikewps/)
 * Just few quick questions:
 * 1. What kind of operations did you perform before you got this error – S3::deleteObject():[
   AccessDenied] Access Denied.
    2. Did you modify any settings in your S3 that 
   caused files in it could not be deleted.
 * Thanks,
 * All the best,
 *  Thread Starter [mikewps](https://wordpress.org/support/users/mikewps/)
 * (@mikewps)
 * [6 years ago](https://wordpress.org/support/topic/make-deleteobject-optional-for-aws-s3/#post-13153504)
 * Hi,
 * 1. When I was trying to S3 as remote storage.
    2. Yes, I removed S3::deleteObject
   in the S3 policy because I don’t want the plugin to delete my backup files.
 *  Plugin Support [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * (@tonyrobins)
 * [6 years ago](https://wordpress.org/support/topic/make-deleteobject-optional-for-aws-s3/#post-13156306)
 * Hi [@mikewps](https://wordpress.org/support/users/mikewps/)
 * Thank you for your update.
 * This feature is actually already on our development roadmap of the pro version.
 * Stay tuned,
 * All the best,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make deleteobject optional for AWS S3’ is closed to new replies.

 * ![](https://ps.w.org/wpvivid-backuprestore/assets/icon-256x256.png?rev=2899202)
 * [WPvivid — Backup, Migration & Staging](https://wordpress.org/plugins/wpvivid-backuprestore/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpvivid-backuprestore/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpvivid-backuprestore/)
 * [Active Topics](https://wordpress.org/support/plugin/wpvivid-backuprestore/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpvivid-backuprestore/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpvivid-backuprestore/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/make-deleteobject-optional-for-aws-s3/#post-13156306)
 * Status: resolved