Created on
‎07-27-2025
03:09 PM
Edited on
‎07-28-2025
03:44 AM
By
Anthony_E
Description | This article describes how to block user access to a published web server through FortiWeb that can be accessed using URLs with query strings. |
Scope | FortiWeb. |
Solution |
Some resources in a published web site can be accessed using URLs with query strings that add additional information. These kind of URL can be blocked using a URL access policy.
For example, to block URL https://www.usbwebcosas1.com/?q=user, the following configuration will block the web traffic with the URI '/?q=user' and will allow all other traffic to this site.
After configuring these settings, select 'OK'. Then, under 'Edit URL Access Parameter', select 'OK'.
After configuring these settings, select 'OK'. Then, select 'Create New' to create a new URL Access Condition.
Leave all other options disabled. After, select OK. Then, under 'Edit URL Access Rule', select OK.
If the policy does not have a web protection profile, create a new one.
After that, when users try to access this, traffic will be blocked. For example, if a user uses a browser to access the configured URL, a block page will be showed:
This blocked traffic can be checked by viewing the attack log under Log & Report -> Log Access -> Attack:
Related document: |
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.