EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: tienthanhvnn on Friday 19 November 2010, 06:28:01 pm



Title: How to prevent file extensions
Post by: tienthanhvnn 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 !  


Title: Re: How to prevent file extensions
Post by: AllanMarques 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.


Title: Re: How to prevent file extensions
Post by: vondie 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