Blocking file extension

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
raven
Posts: 36
Joined: Mon Mar 25, 2019 12:25 am

Blocking file extension

Post by raven »

How to block file extensions like exe, flv, mp4, mkv?. I can't find any documentation about this. Does anyone here have experience how to do it?

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Blocking file extension

Post by Lantis »

That's not going to be possible without a proxy middleman.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

raven
Posts: 36
Joined: Mon Mar 25, 2019 12:25 am

Re: Blocking file extension

Post by raven »

Is it possible to do it using restrictions as mentioned in this topic viewtopic.php?p=101#p101. What is the correct format for regex?

Yan

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Blocking file extension

Post by Lantis »

With HTTP, maybe... But i doubt it would be reliable.
With HTTPS, no chance. We can't see the URI anymore, just the Host portion.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

raven
Posts: 36
Joined: Mon Mar 25, 2019 12:25 am

Re: Blocking file extension

Post by raven »

Thanks Lantis, I'll try using proxy then

Post Reply