You can add below code to disable particular extension globally:
You can add below code for multiple extension, you can replace <ext#> to your file extensions.
<Files ~ "\.<ext>$"> Order allow,deny Deny from all </Files>
<FilesMatch "\.(<ext1>|<ext2>)$"> Order Allow,Deny Deny from all </FilesMatch>