Consider a common scenario where I'm using an Amazon S3 bucket to store the files uploaded by my users and not in my actual server. So, all the files the user uploads, go to the s3 bucket, and doesn't stay on my instance. That means I can allow them to store every type of file.
Does that mean that my server will be protected from possible user uploaded malware since it's not staying in my server anyway?