Skip to main content
Esteemed Contributor III
June 5, 2009

Technical Tip: IPS rule to block setting safe search rule on Bing.com

  • April 16, 2026 at 12:31 PM
  • 0 replies
  • 2222 views

Description
The following IPS custom signature will block the return packet from the Bing.com (Microsoft search engine) server that switches the option in the users' cookie, and should effectively block the users from disabling the safe search option to prevent adult content display.
Solution
This signature will block safe search on Bing.com
 

F-SBID( --name "Bing.Search.Safe"; --protocol tcp; --service HTTP; --flow from_server; --pattern "ADLT=OFF"; --context header; )

Procedure to add a custom signature:

  1. Go to Intrusion Protection> Signature> Custom.
  2. Select Create New.
  3. Enter the name for the signature, for example, "Windows Streaming Audio".
  4. For the Signature, enter the following:
    F-SBID( --name "Bing.Search.Safe"; --protocol tcp; --service HTTP; --flow from_server; --pattern "ADLT=OFF"; --context header; )
  5. Set the Action to Drop Session.
  6. Select OK.

 

Note: In FortiOS 3.0 MR6, you create the custom signature, then add it to an IPS sensor where you define the action.



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