---
title: "Activating the application firewall"
description: "Find out how to activate the application firewall on a Web Hosting plan"
url: https://docs.ovhcloud.com/en/guides/web-cloud/web-hosting/multisites-activating-application-firewall
lang: en
lastUpdated: 2025-08-22
---
# Activating the application firewall

## Objective

_ModSecurity_ is a complementary Apache module that filters all incoming requests on your web server. It increases security against known vulnerabilities by intercepting and filtering requests before they are processed by any scripts.

The preconfigured Core Rule Set (CRS) of our _ModSecurity_ protects your websites against the most common attacks, for example:

- Trojans
- Email injections
- Broken PDF files
- File injections on your hosting system
- SQL or XSS type injections

**This guide explains how to enable your application firewall for enhanced protection in your OVHcloud Control Panel.**

:::info
Since your web hosting plan is hosted on a shared infrastructure, modifying your firewall configuration settings is unavailable.

:::

## Requirements

- an [OVHcloud Web Hosting plan](https://www.ovhcloud.com/en-gb/web-hosting/)
- at least one [domain name](https://www.ovhcloud.com/en-gb/domains/) attached to the hosting


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/web/hosting">Web hosting</ManagerLink>
- **Navigation path:** <code className="action">Web Cloud</code> > <code className="action">Hosting plans</code> > Select your web hosting plan

***


## Instructions

Log in to the OVHcloud Control Panel
 and switch to `Web Cloud
`.
Click on `Hosting Plans
` and select the plan concerned.
### Activating the application firewall in PHP configuration

Click on the `General information
` tab. The current `Global PHP version`
 is displayed in the **Configuration**
 box.  Click on the `...
` icon and select `Modify configuration
`. In the popup window, select the item `Modify the current configuration
` and click on the `Next
` button.
![managephpconfig](/images/assets/screens/control-panel/product-selection/web-cloud/web-hosting/general-information/application-firewall-step-2.png)
In the new window, make sure that **Application firewall**
 is set to `activated
`. To confirm the configuration, click on the `Confirm
` button.
### Activating the application firewall for individual domains in Multisite

Switch to the `Multisite
` tab of your hosting plan. Click on the `...
` button in the row of the respecive domain and select the `Modify domain
` option.
![managemultisite](/images/assets/screens/control-panel/product-selection/web-cloud/web-hosting/multisite/modify-domain-2.png)
In the configuration window, check the `Enable the firewall
` box. You can also include the www subdomain in this configuration by checking the box at the top.
Click on `Next
` and then on `Confirm
` to modify the Multisite settings.
![modifydomain](/images/assets/screens/control-panel/product-selection/web-cloud/web-hosting/multisite/modify-a-domain-enable-firewall-step-1.png)
### Checking the status of the activation task

![manageongoing](/images/assets/screens/control-panel/product-selection/web-cloud/web-hosting/ongoing-tasks/firewall-planned.png)
Tasks to update your Multisite configuration will be listed in the `Ongoing jobs
` tab (initial status is `Planned`
). The firewall will be active once its update task no longer appears in the list.
### Verifying which domains have the firewall enabled

The `Multisite
` tab of your hosting plan provides information on which domains have the firewall option turned on.
![manageenabled](/images/assets/screens/control-panel/product-selection/web-cloud/web-hosting/multisite/firewall-enabled.png)
The table displayed contains all of the domain names that have been added to your Web Hosting plan. In the "Firewall" column, you will see the activation status for each domain.

## Go further

For specialised services (SEO, development, etc.), contact [OVHcloud partners](https://partner.ovhcloud.com/en-gb/directory/).

If you would like assistance using and configuring your OVHcloud solutions, please refer to our [support offers](https://www.ovhcloud.com/en-gb/support-levels/).

Join our [community of users](https://community.ovhcloud.com/).
