Skip to main content
Goutham_FTNT
Staff
Staff
May 10, 2016 1:50 PM UTC

Technical Tip: Allowing a specific YouTube video whilst blocking all other YouTube content

  • Apr 16, 2026 12:39 PM UTC
  • 0 replies
  • 15207 views

Description

 
This article describes the steps to allow a specific YouTube content video and block all other content from YouTube.   


Scope

 
All FortiGate units.   


Solution

 
Enable 'Inspect All Ports' under SSL/SSH inspection – Deep inspection.
  • Navigate to Security Profiles -> SSL/SSH Inspection -> Select 'Deep-Inspection'.
  • Enable the option 'Inspect All Ports'.

             

Inspect ALL.png

 

 
Create the web filter profile.
  • Navigate to Security Profiles -> Web Filter.
  • Select the profile in use, for example: web-filter.
  • Allow the category 'Streaming Media and Download'.
  • Enable the option 'URL Filter'.
  • Create New, enter the YouTube video URL that is to be allowed, and set type=Simple, Action=Allow -> OK.
  • Create New, enter URL – www.youtube.com, set type=Simple, Action=Block -> OK.
  • Apply.

 

Youtube-block.png

 

 
Apply the web filter on the policy.
  • Navigate to Policy & Object -> Edit the policy to which it is to be applied.
  • Enable the web filter, select the profile with the YouTube filter, and also select the SSL/SSH inspection as 'deep-inspection'.
  • If application control is enabled then ensure that the YouTube signatures are allowed in the profile.

 

web-filter .png

 

Verification from LAN PC.
Accessing YouTube and other YouTube links should be blocked.

gshanmugham_FD38689_tn_FD38689-4.jpg

Accessing the specified video should be allowed.

gshanmugham_FD38689_tn_FD38689-5.jpg
 

Related documents: 

Technical Tip: Restrict YouTube access to specific channels

Filtering based on YouTube channel

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024