Created on
10-28-2025
04:57 AM
Edited on
11-10-2025
03:03 AM
By
Jean-Philippe_P
| Description | This article describes how to block the Google Search AI mode and Google Gemini using a Web filter profile. |
| Scope | FortiGate. |
| Solution |
Some organizations decide to block the AI Mode feature in the Google Search engine, and this can be accomplished using a web filter profile. Selecting AI Mode option of the Google Search triggers a URL with a parameter of ?udm=50 as part of the URL. The UDM in Google Search refers to Unified Delivery Mode, which is a parameter that controls how search results are displayed, and the number 50 triggers the AI mode feature of the Google Search.
Go to Security Profiles -> Web Filter and edit the Web Filter profile that is assigned to the policy that the outgoing traffic towards the Google destination is matched with. From 'Static URL Filter', enable 'URL filter' (if it has not been enabled already) and select 'Create New'. Configure the URL filter as follows:
The configuration on the CLI can be set up as follows:
config webfilter urlfilter
Note: To block Google Search AI mode (the ?udm=50 parameter) using the method described above, the user must enable HTTPS Deep Packet Inspection (SSL/SSH Inspection) in the firewall policy. |
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.