Overview
This article addresses an issue where you are unable to block video content from the Internet on a web browser when using GFI WebMonitor.
Root Cause
The category Streaming Media can block whole websites. This issue arises when the Content-Type Header of the loaded video is not inserted into the Block policy.
Resolution
The solution requires two steps:
Step 1: Create a block policy on the GFI WebMonitor Server
- Open the GFI WebMonitor Configuration page.
- Navigate to Manage > Policies.
- Click Add Policy.
- Assign a name and description to the policy.
- Select Block under the Allow, Block, Warn section.
- Drag the File Types module into the right pane.
- Click Files and then click on the File icon.
- Select the file type created above and click Add to policy.
- Click Custom File Types.
- Click Manage File Types.
- Enter Content-Type: video/m2t in the Enter Content-Type field.
- Click Add.
- Enter Additional Content Types as you see fit:
- image/gif, video/gif
- video/xhr
- video/MP2T
- application/vnd.apple.mpegur;charset=utf-8
- video/webm
- audio/web
- Click Add and then Save.
Step 2: Clear browser history on the client side
- Clear all browsing data in the web browser and close the browser.
- Re-open the browser.
Note: Blocking the Content Types listed above blocks the most common videos on Internet websites. To locate the Content Types of the loaded website URLs, press the F12 to start the Developer Tools.