posted 19 years ago
You'll need to analyse the actual data streams and determine whether they're the filetype you want or not.
Dumb filters work on file extension. This is easy, just check if the filename ends with what you're looking for. Of course this doesn't work as I could just rename a file to have the extension you want (this is the way email virusses try to trick people).