Block attachment types

Is there a simple way to block specific types of attachments from getting added to a ticket?