---
id: gk-foundation-secure-download-max-remote-size
title: "Filter - gk/foundation/secure-download/max-remote-size"
sidebar_label: "gk/foundation/secure-download/max-remote-size"
---

# Filter: gk/foundation/secure-download/max-remote-size

Filters the maximum allowed remote file size.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $max_size | `int` | Maximum file size in bytes. Default 104857600 (100MB). |
| $url | `string` | The remote URL. |
| $token_data | `array` | The token data. |

### Since

- TBD: TBD

### Source

Defined in `Components/SecureDownload.php` at line 1250

