1) Is it possible to block attachment extensions by COS?

2) Or is it possible to set attachment viewing per extension.
i.e. Allow view only of .bat files