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.
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 www.youtube.com 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 "www.youtube.com" AND URL matches in list YouTube Allow List
where Youtube Allow List contains:
This is all more or less...
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: http://www.youtube.com/user/homedepot?feature=results_main The Wal-Mart channel also gets through.
I responded for a request for information in this link https://community.mcafee.com/thread/47201 and imported the rule set from eelsasser.
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 (https://contentsecurity.mcafee.com/ruleset_library/dl?type=package&rule_id=50024 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 YouTube.com did play, but I'm sure can easily stop that with a couple of category blocks.