It is almost trivial doing it adding dansguardian to squid; then specifying extensions to filter on /etc/dansguardian/bannedextensionlist (self explaining filename isn't it?). It might be another way without installing dansguardian, but I have never needed it, so I don't know of another; that lazy I am sometimes.
|