DIGIT-ARC read-only archive · snapshot: July 23, 2026

Stop .exe, .rar, .zip, etc downloads, but not .pdf

2 posts · originally from https://geek.digit.in/community/threads/stop-exe-rar-zip-etc-downloads-but-not-pdf.93870/

H
HydraHeaded Original post #1
Jul 24, 2008 at 7:22 AM
Hi,

At a friend's place in his university room, I had seen that the connection was limited in such a way that we could open any page we liked, but we could not freely download anything: we could not download .avi or .wmv or .mp3, etc, but the net worked smoothly.

Now, I have a relative, a young kid, who's come home for a few days, and the fool presses the download button wherever he sees it. So, is there a way to use the net without any glitches, but restrict the downloads of .exe, .wmv, .rar, .zip, etc. files, but allow the downloads of educational books like .pdf or .doc or .txt (or any other)?

Is it done with the help of any software, or through the browser itself? I am using both Opera 9.51 and the new Firefox, though the kid uses Firefox.

Thanks.
M
Jul 25, 2008 at 4:11 AM
You need a proxy server for this. I have worked on this with squid but any good proxy server should do the trick.

*en.wikipedia.org/wiki/Proxy_server#Content_Filtering_Web_Proxy