The edits noted on this page are responses to a variety of requests I have had about how to change the reject/accept logic of the 1.00.x range of protector versions. They are not supported, mostly have not been tested, and are mostly a bad idea!
Please note: I do not recommend any of these changes since they can mean that .exe and other "bad" files can easily get through.
Edit the "part_filter" file, and look for the text (at or near line 197)..
application/tar |\
application/x-tar) unzip_using -f do_tar ;;
And change it to read..
application/tar |\
application/x-tar) allow_unchanged ;;
Edit the "part_filter" file, and look for the text (at or near line 193)..
application/zip |\
application/x-zip-compressed |\
application/x-zip) unzip_using -f do_unzip ;;
And change it to read..
application/zip |\
application/x-zip-compressed |\
application/x-zip) allow_unchanged ;;
WARNING: Please read this first before making the edit below.
Edit the "part_filter" file, and look for the following text (on or near line 233)
text/* |\
image/* |\
audio/* |\
video/* )
allow_unchanged ;;
And add an extra line, so that it now reads..
application/pdf |\
text/* |\
image/* |\
audio/* |\
video/* )
allow_unchanged ;;
1.4 - To allow "MS Word" files through without checking (VERY bad idea!)
Please note that there is a very large number of word macro viruses "out there" in the wild. Making this change opens you up to all of them - so make sure that the workstations you used to read you mail with have up-to-date anti-virus software installed - including MS Office protection.
Edit the "part_filter" file, and look for the following text (on or near line 220).
application/msword |\
application/x-msword )
eval `$LIB_DIR/bin/check_msword $DECODED` ;;
And change it to read..
application/msword |\
application/x-msword )
allow_unchanged ;;
1.5 - To allow "MS Excel" files through without checking (VERY bad idea!)
Please note that there are quite a few Excel macro viruses "out there" in the wild. Making this change opens you up to all of them - so make sure that the workstations you used to read you mail with have up-to-date anti-virus software installed - including MS Office protection.
Edit the "part_filter" file, and look for the following text (on or near line 224).
application/vnd.ms-excel )
eval `$LIB_DIR/bin/check_excel $DECODED` ;;
And change it to read..
application/vnd.ms-excel )
allow_unchanged ;;
|
|
All material on this page, and the "protector" software to which it relates is Copyright (C) 2002 by Lowth.com.
"Protector" is free, open source software, licensed according to the terms of the GNU Public License
|