Squid content filtering: Block / download of music MP3, mpg, mpeg, exec file by extensions

Posted on in Categories , , , , , , , , , last updated March 31, 2017

For security reasons and to save bandwidth I would like to configure Squid proxy server such way that my users should not download all of the following files:
MP3
MPEG
MPG
AVG
AVI
EXE

How do I configure squid content filtering?