The content blocker plugin lets you block certain files from being uploaded if the file extension isn't in the white list of allowed file types for that directory.  This is generally useful for a website only allowing web type files to be hosted.

[attachments|contentblocker.png]