# Geoblocking

**Geoblocking** allows you to control which countries can access your content through the [Medianova Control Panel](https://cloud.medianova.com).\
By enabling this feature, you can restrict or allow requests based on the visitor’s geographic origin, helping you comply with regional policies and protect your digital assets.

{% hint style="warning" %}
Geoblocking operates at the CDN edge, preventing unauthorized access before requests reach your origin server.
{% endhint %}

#### Why Use Geoblocking?

Use **Geoblocking** to manage access and enforce content distribution policies efficiently:

* **Compliance and licensing** – Restrict access to regions where content rights do not apply.
* **Dynamic pricing models** – Apply different pricing or service availability by country.
* **Security enhancement** – Block known high-risk regions or malicious traffic.
* **Content optimization** – Focus delivery to target markets, reducing unnecessary traffic.

{% hint style="warning" %}
Combine Geoblocking with **IP Restriction** for granular, IP-based exceptions within approved countries.
{% endhint %}

### How to Configure Geoblocking

{% stepper %}
{% step %}
Log in to the **Medianova Control Panel**.
{% endstep %}

{% step %}
Go to **CDN → CDN Resources** and select the resource you want to manage.
{% endstep %}

{% step %}
Open the **Security** tab.
{% endstep %}

{% step %}
Enable the **Geoblocking** toggle.
{% endstep %}

{% step %}
From the country list:

* Drag or select countries to the **Whitelist** (allowed).
* Drag or select countries to the **Blacklist** (blocked).
  {% endstep %}

{% step %}
Click **Save Changes** to apply your configuration.
{% endstep %}

{% step %}
(Optional) Add specific IP exceptions under **IP Restriction** for fine-tuned control.

{% hint style="info" %}
You cannot whitelist and blacklist the same country simultaneously.
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://clients.medianova.com/products/security/geoblocking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
