Use https://github.com/google/magika to check mimetype and block if the mimetype is in the configured block list.
Availible for python, rust and js, for .net we need some bindings:
https://securityresearch.google/magika/cli-and-bindings/other-bindings/
Use https://github.com/google/magika to check mimetype and block if the mimetype is in the configured block list.
Availible for python, rust and js, for .net we need some bindings:
https://securityresearch.google/magika/cli-and-bindings/other-bindings/