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

Blocking Youtube by uploader

We tried using the ruleset from the Content and Cloud Security site (Youtube Restrict Access By Uploader) for blocking youtube by only allowing certain uploaders and am not able to get it working correctly.  In our application, we would like to block all of Youtube and only allow videos by a single user, which is our company's user name/id.  What is giving me problems is when we also enable the streaming media category.  Once we have the streaming media category enabled as a block, we get weird playback issues where we can get to our company's page, but the video won't play back without adding numerous URL's.  If we turn off the category blocking, we are then able to play videos by our company's user name/id and block random user uploaded videos using the rule , but are unable to block channels or playlists from large companies like Home Depot.   Has anyone been able to successfully block Youtube videos by certain uploaders by making changes to the Youtube Restrict Access By Uploader ruleset available on the Content and Cloud Security site? 

4 Replies
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 5

Re: Blocking Youtube by uploader


I created the rule set and I tried it with a couple of URLs, but there may be issues with it. Can you probably give me some examples that should/should not work and let me know what happens? I can try to do some troubleshooting and see if we need some tweaks to the rule set.

I only know the "by category" rule set is already used by a couple of customers and seems to work pretty good. The "by uploader" rule set is not that popular (yet).

If you give me some more details I will try to have a look.



Re: Blocking Youtube by uploader

I did something like that.

The customer request was to allow access to certain youtube channels only. Since I didn't find a way to "detect" the channel using YouTube APIs, I've setup a workaround using the uploader. In my case I had to work also on URL Filtering to allow access to and a few URLs.

So to start I used the Application Control Ruleset and created a Ruleset for YouTube:


Application:Youtube Ruleset looks like this:


here I setup several extarnal lists to fetch different attributes. Maybe there's a better way but this one works.

I also setup here a block page to debug issues printing all the values just computed (quite useful).

The nested ruleset performs the real block:


Here I check if the URL contains the "v" parameter and if the uploader is not in the list of allowed uploader block access to the page.

In URL Filtering ruleset I setup a rule to allow traffic towards

URL.Host equals "" AND URL matches in list YouTube Allow List

where Youtube Allow List contains:



This is all more or less...



Re: Blocking Youtube by uploader

Hi Andre,

Sorry for not getting back to you sooner.  We had a few things come up and had to put our YouTube issues on hold.  I have created rules to block uploaders and seem to have it to where it does now block other users and doesn't allow videos even if our company name is in the description or title, but for some reason channels aren't blocked.  For example:  The Wal-Mart channel also gets through.

I responded for a request for information in this link and imported the rule set from eelsasser.

Re: Blocking Youtube by uploader

Hi Andre,

I stand corrected and apologize for the multiple posts.  The more troubleshooting I did, the more it seems that it is just the initial video on the channel that plays.  When you actually dig deeper or click on the videos within the channel, they do get blocked.  I did use another ruleset from the one eelsasser uploaded, but it is essentially the same.  eelsasser's was just more detailed and had more options than the one I used ( Youtube Restrict Access By Uploader) I found on the Content and Cloud Security Portal).  Some of the commercials that appear at the top when you go to did play, but I'm sure can easily stop that with a couple of category blocks.

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