> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Enable Hotlink Protection in DirectAdmin

The main purpose of hotlink protection is to protect the bandwidth of your server or shared hosting account by preventing other websites from linking to content on your website, such as images and files.

If another website uses HTML code to display your images or files, they are fetched from your server or shared hosting account, and use your bandwidth.

:::info

If you are using the Standard theme on DirectAdmin, switch to the Refreshed theme as shown in [How to change theme or layout on DirectAdmin](https://wiki.crowncloud.net/?How_to_change_theme_or_layout_on_DirectAdmin).

:::

## In the Refreshed Theme


### Log in to DirectAdmin
Log in to your DirectAdmin panel.
### Open Hotlinks Protection
Move the cursor to **Account Manager** and click on **Hotlinks Protection**.
<img alt="Hotlinks Protection under Account Manager" src={image0} />
### Enable Hotlinks Protection
Click the **Enable Hotlinks Protection** button.
<img alt="Enable Hotlinks Protection button" src={image1} />
### Add your domains
Add all the domains in your account. You can add them all at once by clicking the **Add My Domains** button.
<img alt="Add My Domains button" src={image2} />
### Adjust the settings
If any domain is missing, add it in the first text area and click the **Add** button.
You can add more file extensions that you want to protect in the **Protected file types** text area.
For the redirection, you can select and add a **URL**, or keep the default **403 Forbidden**.
<img alt="Hotlink protection settings" src={image3} />
### Save the settings
Click the **Save** button.

## In the Standard Theme


Click here to show the steps

### Log in to DirectAdmin
Log in to your DirectAdmin panel.
### Open Hotlinks Protection
Move the cursor to **Account Manager** and click on **Hotlinks Protection**.
<img alt="Hotlinks Protection under Account Manager" src={image4} />
### Enable Hotlinks Protection
Click the **Enable Hotlinks Protection** button.
<img alt="Enable Hotlinks Protection button" src={image5} />
### Add your domains
Add all the domains in your account. You can add them all at once by clicking the **Add My Domains** button.
<img alt="Add My Domains button" src={image6} />
### Adjust the settings
If any domain is missing, add it in the first text area and click the **Add** button.
You can add more file extensions that you want to protect in the **Protected file types** text area.
For the redirection, you can select and add a **URL**, or keep the default **403 Forbidden**.
<img alt="Hotlink protection settings" src={image7} />
### Save the settings
Click the **Save** button.
