|
3 |
#Banned extension list |
3 |
#Banned extension list |
4 |
|
4 |
|
5 |
@!@ |
5 |
@!@ |
6 |
if baseConfig.get('squid/contentscan', 'no').lower() in [ 'yes', 'true' ]: |
6 |
if baseConfig.is_true('squid/contentscan'): |
7 |
group = configRegistry.get( 'dansguardian/current/group' ) |
7 |
group = configRegistry.get( 'dansguardian/current/group' ) |
8 |
banned = configRegistry.get( 'dansguardian/groups/%s/banned/extensions' % group, '' ) |
8 |
banned = configRegistry.get( 'dansguardian/groups/%s/banned/extensions' % group, '' ) |
9 |
for entry in banned.split( ' ' ): |
9 |
for entry in banned.split( ' ' ): |
Lines 56-62
if baseConfig.get('squid/contentscan', 'no').lower() in [ 'yes', 'true' ]:
|
Link Here
|
---|
|
56 |
.scf # Windows Explorer command |
56 |
.scf # Windows Explorer command |
57 |
.scr # Screen saver |
57 |
.scr # Screen saver |
58 |
.sct # Windows Script Component |
58 |
.sct # Windows Script Component |
59 |
.sh # Shell script |
59 |
#.sh # Shell script |
60 |
.shs # Shell Scrap object |
60 |
.shs # Shell Scrap object |
61 |
.shb # Shell Scrap object |
61 |
.shb # Shell Scrap object |
62 |
.sys # Windows system file |
62 |
.sys # Windows system file |
Lines 82-92
if baseConfig.get('squid/contentscan', 'no').lower() in [ 'yes', 'true' ]:
|
Link Here
|
---|
|
82 |
|
82 |
|
83 |
# Other files which may contain files with executable code |
83 |
# Other files which may contain files with executable code |
84 |
|
84 |
|
85 |
.gz # Gziped file |
85 |
#.gz # Gziped file |
86 |
.tar # Tape ARchive file |
86 |
.tar # Tape ARchive file |
87 |
.zip # Windows compressed file |
87 |
.zip # Windows compressed file |
88 |
.tgz # Unix compressed file |
88 |
.tgz # Unix compressed file |
89 |
.bz2 # Unix compressed file |
89 |
#.bz2 # Unix compressed file |
90 |
.cdr # Mac disk image |
90 |
.cdr # Mac disk image |
91 |
.dmg # Mac disk image |
91 |
.dmg # Mac disk image |
92 |
.smi # Mac self mounting disk image |
92 |
.smi # Mac self mounting disk image |