Skip to main content
choyrack
New Member
August 7, 2017
Solved

Block Youtube access except of one channel

  • August 7, 2017
  • 1 reply
  • 57517 views

Hello

 

Is it possible to block access to YouTube except of one channel?

 

 

Regards

Mariusz

    Best answer by hmtay_FTNT

    Hello Mariusz,

     

    Yes, it is possible. Can you add the following custom signatures?

     

    F-SBID( --name "Youtube.Channel.Specific_Custom"; --protocol tcp; --flow from_client; --app_cat 12; --service HTTP; --pattern ".youtube.com"; --context host; --no_case; --pattern "channel/UC8pN3ndaZMNOezIy48sRpHA"; --context uri; --no_case; --no_case; --within 40; --weight 50; ) F-SBID( --name "Youtube.Tag_Custom"; --protocol tcp; --flow from_client; --app_cat 6; --service HTTP; --pattern ".youtube.com"; --context host; --no_case; --pattern "/watch?"; --context uri; --no_case; --no_case; --within 40; --weight 50; --tag set,Youtube.Tag; ) F-SBID( --name "Youtube.Channel.Video_Custom"; --protocol tcp; --flow from_server; --app_cat 6; --service HTTP; --pattern "channelId|22| content=|22|UC8pN3ndaZMNOezIy48sRpHA"; --context body; --no_case; --weight 150; --tag test,Youtube.Tag; --tag clear,Youtube.Tag; ) F-SBID( --name "Youtube.Channel.Block_Custom"; --protocol tcp; --flow from_server; --app_cat 6; --service HTTP; --pattern "ucid|22|:|22|"; --context body; --no_case; --pattern !"UC8pN3ndaZMNOezIy48sRpHA"; --context body; --no_case; --distance 0; --within 30; --weight 50; --tag test,Youtube.Tag; )

     

    Change the texts in bold into the specific channel you are interested in allowing. Set the first 3 signatures to Monitor and the last one to Block. You will need to enable deep-inspection for the signatures to work. Let me know how it goes. Thank you.

     

    Homing

    1 reply

    hmtay_FTNT
    Staff
    Staff
    August 14, 2017

    Hello Mariusz,

     

    Yes, it is possible. Can you add the following custom signatures?

     

    F-SBID( --name "Youtube.Channel.Specific_Custom"; --protocol tcp; --flow from_client; --app_cat 12; --service HTTP; --pattern ".youtube.com"; --context host; --no_case; --pattern "channel/UC8pN3ndaZMNOezIy48sRpHA"; --context uri; --no_case; --no_case; --within 40; --weight 50; ) F-SBID( --name "Youtube.Tag_Custom"; --protocol tcp; --flow from_client; --app_cat 6; --service HTTP; --pattern ".youtube.com"; --context host; --no_case; --pattern "/watch?"; --context uri; --no_case; --no_case; --within 40; --weight 50; --tag set,Youtube.Tag; ) F-SBID( --name "Youtube.Channel.Video_Custom"; --protocol tcp; --flow from_server; --app_cat 6; --service HTTP; --pattern "channelId|22| content=|22|UC8pN3ndaZMNOezIy48sRpHA"; --context body; --no_case; --weight 150; --tag test,Youtube.Tag; --tag clear,Youtube.Tag; ) F-SBID( --name "Youtube.Channel.Block_Custom"; --protocol tcp; --flow from_server; --app_cat 6; --service HTTP; --pattern "ucid|22|:|22|"; --context body; --no_case; --pattern !"UC8pN3ndaZMNOezIy48sRpHA"; --context body; --no_case; --distance 0; --within 30; --weight 50; --tag test,Youtube.Tag; )

     

    Change the texts in bold into the specific channel you are interested in allowing. Set the first 3 signatures to Monitor and the last one to Block. You will need to enable deep-inspection for the signatures to work. Let me know how it goes. Thank you.

     

    Homing

    choyrack
    choyrackAuthor
    New Member
    August 31, 2017

    Hello

     

    It is work! Thank you.

    Ramesh_M
    New Member
    October 3, 2017

    This is good. Its works for me . 

     

    Thanks