Archived from the Transloadit support forum. Originally posted on September 27, 2011; details may be outdated, see our docs for current behavior. Original thread
It would be svelte to be able to validate the first couple of bytes of incoming uploads and reject them if they don’t pass a magic bytes test (e.g. for PNG, JPEG, SQLite databases, MPEG files etc.).