# Download Options

The Download by File Type feature allows you to control which file formats display the Download button in your FileBird Document Library on the frontend.

Instead of enabling downloads for all documents, you can now selectively define allowed file extensions. This helps improve content control, protect sensitive documents, and manage digital assets more effectively.

#### What Download Options Does

When this option is enabled, FileBird Document Library will:

* Check the file extension of each document.
* Display the Download button only if the file type matches your allowed list.
* Hide the Download button for all other file types.

This setting affects only the frontend document library display.

#### How to Enable Download Option by File Type

On your WordPress Dashboard, navigate to: FileBird Document Library > Settings, enter the file extensions you want to allow downloads for.&#x20;

For example: PDF, JPG, PNG, zip, etc.

<figure><img src="/files/ND40Zyc1EwAIirhiQTBC" alt=""><figcaption></figcaption></figure>

**Download Controls in FileBird Document Library**

FileBird Document Library provides a set of Download Control features that help you manage how users access and download files from your document library.

These tools allow you to protect sensitive documents, control download permissions, and customize how the Download button behaves for different file types:

* Secure Download URLs
* Modify Download Button by File extensions

With these features, you can safely distribute digital files while maintaining full control over your document library.

<figure><img src="/files/Tzz5qGu9UWpq2d1MK4Qe" alt=""><figcaption></figcaption></figure>

When you enable the Secure Download URLs option, it will protect your files by preventing direct access to the original file URLs:

* Download links are generated dynamically
* File URLs cannot be easily shared or reused, it just work for a specific time, which you have set on “Link expiration time.”

Whether to enable this feature or not, WordPress users can also enter file extensions to control what users can download, and which file types display a Download button in the document library.

{% hint style="info" %}
Important Notes:

* Enter extensions without a dot (use pdf, not .pdf).
* Separate multiple file types with commas.
* Do not add spaces before or after file extensions if possible.
  {% endhint %}

Click Save Settings to apply your configuration.

<figure><img src="/files/9r2Z4YCP1dseArOhnDyN" alt=""><figcaption></figcaption></figure>

\ <br>


---

# 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://docs.ninjateam.org/addons/filebird-document-library/download-options.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.
