Stopping .js in .zip

Trond M. Markussen markussen at media24.no
Mon Feb 20 14:13:47 UTC 2017


Hi,

 

Could someone please let me know the best way to stop javascript (.js) files
within .zip files?

 

Currently we have: in filename.rules.conf (among others):

allow   \.zip$ 

deny    \.jse?$ 

deny    \.js$ 

deny    \.exe$ 

 

And the entire filetype.rules.conf:

allow   text            -                       -

allow   \bscript        -                       -

allow   archive         -                       -

allow   postscript      -                       -

#deny   self-extract    No self-extracting archives     No self-extracting
archives allowed

deny    executable      No executables          No programs allowed

#EXAMPLE: deny  -       x-dosexec       No DOS executables      No DOS
programs allowed

#deny   ELF             No executables          No programs allowed

#deny   Registry        No Windows Registry entries     No Windows Registry
files allowed

 

#deny   MPEG            No MPEG movies          No MPEG movies allowed

#deny   AVI             No AVI movies           No AVI movies allowed

#deny   MNG             No MNG/PNG movies       No MNG movies allowed

#deny   QuickTime       No QuickTime movies     No QuickTime movies allowed

#deny   ASF             No Windows media        No Windows media files
allowed

#deny   metafont        No Windows Metafont drawings    No WMF drawings
allowed

 

Please let me know your suggestions using filename/filetype rules, and/or
deny.filetypes.rules.

 

 

Regards,

 

Trond M. Markussen

Media24 AS

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170220/ffbaaa9e/attachment.html>


More information about the MailScanner mailing list