News for hackers. Stuff that matters.
Re:File Attachments: Databases can now store files and images by crooked-v on Wednesday August 30, 2023 @03:57PM (#37328094)
Of course, that also means that now you don't have backups of your files.
Re:File Attachments: Databases can now store files and images by 0x457 on Wednesday August 30, 2023 @04:05PM (#37328204)
They do have backups if versioning is enabled on S3.
Re:File Attachments: Databases can now store files and images by ericbarrett on Wednesday August 30, 2023 @04:32PM (#37328613)
Yes, S3 is extremely reliable and versioning protects against “oopsies.” I do always recommend disallowing s3:DeleteObjectVersion for all IAM roles, and/or as a bucket policy; manage old versions twith a lifecycle policy instead. This will protect against programmatic deletion by anybody except the root account.
Re:File Attachments: Databases can now store files and images by brazzledazzle on Wednesday August 30, 2023 @06:47PM (#37330155)
I second these sensible protections. Also would recommend replicating your bucket as a DR measure. Ideally to another (infrequently used and separately secured) account. Even better if you do it to another region but I think another account is more important since the chances of your account getting owned is higher than amazon suffering a total region failure.