How to Configure Amazon S3 to Allow Uploads of Only Specific File Types (Extensions)
I’ll introduce how to configure Amazon S3 to allow uploads of only specific file types (extensions).
I wanted to upload only specific file types (extensions) to S3, so I verified the content of the following article.
? Amazon Support: Amazon S3 バケットのアップロードを特定のファイルタイプに制限する
The expected behavior was “uploading should not be possible if an HTML file has a .png extension,” but the verification result was “uploading itself is possible if you disguise the extension as .png.”
That’s all from the Gemba.