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

Block file uploads with WG

Hi Heroes,

WG8.2.7 - We are testing to use WG to block file uploadings and below is how we defined the policy:

Command.Name equals POST or PUT

Url.Path is not in list "login/logout/logoff..etc"

Media.EnsuredTypes is none in list "x-empty"


Generally this rule works but we saw that some websites were blocked because of the URL.path is not covered in the URL.Path exception list. If we use this rule in production we are afraid there will be many potential issues...


Can anyone suggests if there has better approaches? 

Our goal is to allow user to access any external websites but block file uploadings.

1 Reply
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: Block file uploads with WG

Hi @User21257322 


in the default rule set we already have a rule to block certain uploads "Media Type Filtering > Upload Media Type". Here you can block mediatype you consider as problematic. This rule set should work for most common use case scenarios.



Best Regards,

If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!
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