Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7
Report Inappropriate Content
Message 1 of 2

We need to block the .chm file in webgateway

Hi Team, We want to block the .chm file in webgateway. please help us to implement this. Gorakshanath Sutar 8850932081
1 Reply
Report Inappropriate Content
Message 2 of 2

Re: We need to block the .chm file in webgateway

Hello @Vinay124 ,

The MWG can block files based on extension using the property URL.FileExtension. A rule that matches this to ".chm" could be configured to block URL requests where the URL filename has this extension.

You may also be able to use MediaType.EnsuredTypes or even the Content-Type header to try and match 'application/', which is what .chm files are classified as according to IANA:

(I cannot confirm right now if the MWG media type filter detects this MIME type yet, or not. It can, however, read the Content-Type headers and URL file extensions)

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 our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

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