> For the complete documentation index, see [llms.txt](https://clients.medianova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clients.medianova.com/products/security/security-token.md).

# Security Token

**Security Token** restricts access to CDN-delivered content by requiring a valid token in the request URL. Requests that do not include a valid token are denied before content is served.

**How Security Token Works**

When Security Token is enabled for a CDN Resource, the CDN validates the token included in the request URL before serving content.

* Requests with a valid token are served normally.
* Requests without a token or with an invalid token are denied.

Token generation must be handled on your origin server or application. The CDN validates the token but does not generate it.

**When to Use Security Token**

Use Security Token to:

* Restrict access to time-limited content such as video streams or temporary download links
* Protect private files that should not be publicly accessible without authorization
* Prevent unauthorized sharing or hotlinking of protected resources

**Configuration**

Security Token is configured per CDN Resource in the [Medianova Control Panel](https://cloud.medianova.com).

{% stepper %}
{% step %}

### Access Security Token

Go to **CDN → CDN Resources** and select the resource you want to protect.

Open the **Security** tab and locate the **Security Token** section.
{% endstep %}

{% step %}

### Enable Security Token

Toggle **Status** to enable the feature.

<figure><img src="/files/084GHNfT52sKlq2oB5LA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configure Token Parameters

{% endstep %}
{% endstepper %}

**Notes**

* Token generation is the responsibility of your origin or application layer. The CDN validates but does not generate tokens.
* Requests without a valid token are denied at the CDN edge before reaching your origin.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://clients.medianova.com/products/security/security-token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
