Currently, Statamic allows one to extend file format support as can be seen in Pull Request #9037 . Uploading files with a specific file format is, however, not possible. This would help increase the security by allowing developers to limit described containers uploading only to a few given formats such as JPG, PNGs only. This will deny uploading of file types that could be potentially dangerous (like SVGs).
Adding something like that doesn't only increase security to websites but allows for much control as far as the type of content that is being uploaded.
Thank you for the consideration to feature request.
Best Steffen
Currently, Statamic allows one to extend file format support as can be seen in Pull Request #9037 . Uploading files with a specific file format is, however, not possible. This would help increase the security by allowing developers to limit described containers uploading only to a few given formats such as JPG, PNGs only. This will deny uploading of file types that could be potentially dangerous (like SVGs).
Adding something like that doesn't only increase security to websites but allows for much control as far as the type of content that is being uploaded.
Thank you for the consideration to feature request. Best Steffen