Blocking certain attachment file types

Hi,

I’ve been searching for a way to do this, but can’t seem to figure it out.
Is there a configuration option or extension that I can use to block
certain file types from being attached to tickets?

Thanks!