Showing results for 
Show  only  | Search instead for 
Did you mean: 

MWG 7.5.2 Block files with particular extension .xlsm

Hi All,

I have recently commissioned a two node MWG cluster as a reverse proxy which is working fine, but I have a requirement that does not appear to be directly catered for

My app will only accept .xls files as uploads. Sometimes users attempt to upload .xlsm files some of which get through my MWG rule base. some of which do not, the MWG unpacks the .xlsm and applies my configured rules and reports upon items INSIDE the .xlsm. Whereas I want to be able to stop anything at all being uploaded with an .xlsm extension and ask the user via a custom message to resave in .xls format

I know file extensions can be spoofed this not a security configuration just a courtesy to my users! Does anyone know how I can setup blocking on file extension of a submission?

It would also be nice to able to be able to configure two separate rule bases, one for in bound and one four out bound or apply rules to inbound / outbound / both but again not seen any way to do that in the MWG policy config

Any insights (particularly around file extension blocking) gratefully received, Many thanks, Graham

2 Replies

Re: MWG 7.5.2 Block files with particular extension .xlsm

Hi Graham,

Use URL.FileExtension and match on a list of wildcards that contains "xlsm" and the other extensions you might want to forbid.



Level 12
Report Inappropriate Content
Message 3 of 3

Re: MWG 7.5.2 Block files with particular extension .xlsm

The following Excel  mediatype.ensuredtypes  "at least one in list"  with a list that includes these  macroEnabled thingees  might be something you'd like to block as well  as an OR function  to the URL.FileExtension matching,  and action of Block.

This would get around anyone simply renaming files to get around a file extension block.


You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community