Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 03:38:20 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  How to prevent file extensions
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How to prevent file extensions  (Read 12107 times)
tienthanhvnn
Jr. Member
*
Offline Offline

Posts: 1


« on: Friday 19 November 2010, 06:28:01 pm »

Dear all !
I want to prevent all clients in my network from uploading or downloading files  (*.exe, *.doc, *.iso ) on EFW 2.4. I've already used mimetypes in Access Policy but clients still upload or download these files. I don't know how  to do that , can you give me any solution ! Thanks for helping me very much !  
Logged
AllanMarques
Jr. Member
*
Offline Offline

Posts: 3


« Reply #1 on: Tuesday 04 January 2011, 04:44:02 am »

I have the same question.

i want to block any URL that contain .exe || .zip || .rar || . || and etc.
Logged
vondie
Full Member
***
Offline Offline

Posts: 22


« Reply #2 on: Sunday 16 January 2011, 08:57:16 pm »

To block files you must Activate the Proxy first.

Open you EFW web configuration.
Create new "Deny Access" at your efw proxy access policy.

Example:

1. Click Proxy > Access Policy > Add Access Policy
2. Source type: Any
Destination type: Any
Access Policy: DENY ACCESS
Mime types:
application/x-bittorrent
application/octet-stream
application/oda
application/ogg
application/x-msdos-program
video/dl
video/fli
video/gl
video/mpeg
video/mp4
video/mpeg
video/quicktime
video/vnd.vivo
video/x-fli
video/x-ms-asf
video/x-ms-asx
video/x-ms-wmv
video/x-ms-wmx
video/x-ms-wvx
video/x-msvideo
video/x-sgi-
video/3gpp
audio/3gpp
audio/TSP-audio
audio/basic
audio/midi
audio/mpeg
audio/ulaw
audio/x-aiff
audio/x-mpegurl
audio/x-ms-wax
audio/x-ms-wma
audio/x-pn-realaudio-plugin
audio/x-pn-realaudio
audio/x-realaudio
audio/x-wav

Position: first position

Refer to MIME type via Google.
example:
*.exe -> application/octet-stream
*.zip -> application/zip
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com