Created on
06-01-2021
11:02 PM
Edited on
09-09-2024
12:41 AM
By
Jean-Philippe_P
Description
This article describes how to block images using a Content Analysis profile.
Content Analysis is a licensed feature that allows users to detect adult content in real time.
This service is a real-time analysis of the content passing through the FortiProxy.
Unlike other image analysis tools, this one does not just look for skin tone colors but can detect limbs, body parts, and the position of bodies.
After adult content is detected, such content can be optionally blocked or reported.
Scope
FortiProxy.
Solution
To use Content Analysis, it is necessary to set up at least one profile and apply it to a policy.
Content Analysis profiles are configured under Content Analyses -> Image Analysis.
Note.
config antivirus profile
edit "Test"
set scan-mode legacy
end
For now and after releasing firmware v2.0.5 GA, FortiProxy can cache some blocked images into the local ram disk, so that the admin can review the image from the Content Analyses logs.
Enable the blocked-image cache in the Content Analysis profile.
config image-analyzer profile
edit "<profile>"
set blocked-img-cache enable <-------
next
end
Specify the maximum size of the blocked-image cache and set the caching mode:
config system global
set max-img-cache-size 60 ----> Maximum space (MB) that can be used by image-analyzer to store blocked images into ram disk (Min 30, Max 300, default 60).
set img-cache-mode (stop|rolling)
stop Stop caching blocked images into ram disk when limit reaches.
rolling Evict old cached images when limit reaches (default).
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.