Stop auto preview of attachment

Is there a way to stop the preview of any attachment when hovering the mouse over? This is a privacy and security risk and I’d rather not have any software on my machine auto render any (potentially) malicious attachment.