Never trust an upload's filename
It's generally accepted that we should never simply trust a user's input. Otherwise, we're vulnerable to malicious input (CE-5). For a file upload from a user, it’s common to check their file size or type, especially when restricting them by those tw...
kahdev.hashnode.dev3 min read