xpire the objects in this bucket after some short period to prevent malicious use. Your server side code should handle moving and deleting valid files so you can assume those that are left after 24 hours are not meant to be there.
From your S3 console, view a bucket, and then click Properties.
Expand the "Lifecycle Rules" section and follow the prompts.
Set the action to "Permanently Delete Only" and set it for 1 day -- this will delete any objects in the bucket that are older than 1 day permanently.
Now, you're ready to use this bucket in your Ionic Image Upload app!