websafety icon indicating copy to clipboard operation
websafety copied to clipboard

YT filtering without video id in the POST URL

Open ra-at-diladele-com opened this issue 2 years ago • 1 comments

Here is the method I use to get to a gaming video.

go to [youtube.com](http://youtube.com/)
On the left bar, under the title "BEST OF YOUTUBE", select "Gaming"
The on the main page, under the recommended videos, select ""I made 100 players simulate civilization in minecraft"
The video plays.

If I copy the link from that video, clear cookies and paste it in a new video, it get blocked by websafety. The link is https://www.youtube.com/watch?v=fGQyDuErueE

ra-at-diladele-com avatar Mar 01 '22 12:03 ra-at-diladele-com

Indeed I am able to see the videos playing although the category is blocked. The reason for this might be the following:

  • web filter looks at the URL to find out the video ID
  • lately YT started to move to POST request with video is to play in the body of the request, not the URL itself
  • the web filter allows such request (we do not scan outgoing payload only ingoing payload (responses))
  • video starts to play

If you open a new windows and paste the video URL into it - the id is present in the URL itself and thus it gets blocked.

I see two possibilities for improvements:

  • start analyzing the payload of the POST requests (at least to youtube domain)
  • when looking for video is - also scan the textual contents of the description using the dynamic categorizer - which is able to detect games related texts. See #1569

ra-at-diladele-com avatar Mar 01 '22 12:03 ra-at-diladele-com

we dropped the YT filtering functionality completely in Web Safety 9.0 - see #2147 why

ra-at-diladele-com avatar Dec 29 '23 21:12 ra-at-diladele-com