Skip to main content
dingjerry_FTNT
Staff
Staff
December 6, 2024

Technical Tip: Display images on a Web Filter Block page

  • December 6, 2024
  • 0 replies
  • 1264 views
Description This article describes how to display images on the a Web Filter Block page.
Scope FortiGate.
Solution

Images can be added to the Web Filter Block Replacement Message with the Replacement Message tag '%%IMAGE:<image file name>%%'.

 

When the URL is blocked on the client machine, the browser fetches the image via HTTPS request from FortiGate to appear on the Block page.

 

If the client does not trust or install the CA certificate, the Block page will not show the image.

 

To fix this issue, SSL Deep Inspection must be used, and the CA certificate used in SSL Deep Inspection must be installed or trusted on the client machine.

 

Starting from FortiOS 7.2.4, there is a new enhancement with a new command setting (embed-image) to embed the image with a base64 string:

 

config webfilter fortiguard
   set embed-image { enable | disable}
end

 

Relevant article:

New features or enhancements

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT