Download Link Protection v.1.0.3

Protect the links used for downloading files like zip, pdf, mp3, csv, jpg etc. The protected links work only to the users who click them through your website.

The real link of the file to be downloaded is hidden by a random link that is unique per user and visit.

Joomla! 3.x Plugin

Download Link Protection

We are happy to announce that our extension Download Link Protection is used by the Joomla Project in the website
You can see our company among the Joomla! Extension Partners.


The Download Link Protection plugin provides a very simple but practical way to hide the real URLs for files from being displayed and accessed directly. The real URLs are replaced with incomprehensible URLs that do not reveal anything about the file to be downloaded. So the user will never find the real URL of the downloaded file.

The operation of the protected links is limited only to the users that can click to them through the website. The protected links don't work outside the website. When a person gives the protected URL (through an email or forum or anything else) to another person, the link is not working. Furthermore the protected URL will work only as long as the session of the first person is alive. After the person has left the website, the protected links stop to work. He has to visit the website again and click to a new protected link that will download the same file again.

The protected URLs are consisted of the URL to the homepage of the website and a random number as parameter. If the protected URL is accessed by a person outside the website, then he ends up to the homepage of the website.

Download Link Protection can protect normal links that point to typical web pages. But the real URL will be revealed since they will open as a normal page.

What this plugin can do:

  • Hides the real URLs for files with protected URLs.
  • Does not reveal the real URL of the downloaded file in any way.
  • Limits the protected URLs to be working only for the person who is able to click to them through the website.
  • Does not allow the protected URLs to work anywhere else outside the website.
  • Creates different protected URLS for each user and in different visits of the same user.
  • Displays a special message if the file does not exist.
  • Demo of Download Link Protection
  • Buy Download Link Protection
  • Documentation of Download Link Protection
  • Technical Information of Download Link Protection
  • Change Log of Download Link Protection

The buttons below will redirect you to another website displaying demos of the extension.

Demo 1

Read More

You don't have any active subscription.

  • Download Link Protection

    Download Link Protection

    Select this subscription in order to download Download Link Protection.
    10€ 6 months of access to download. Unlimited installations. Support for a single website.
  • 1

Subscription Instructions

In order to download the extension you have to subscribe to the above subscription. The subscription process requires from you:

  1. To create an account or to login using an existing one if you already have.
  2. To be redirected to PayPal for the payment.

After you return to this website from PayPal, you will be already logged in and you will receive an email with information about your subscription.

Being logged in with your account you will be able to download the extension a) through the page of the extension or in the 'Downloads' area or from your account by selecting 'My Downloads'.

As long as the subscription is active, you will be able to log in and download any possible updates of the extension from this website.

Read More


  1. Download the plugin "Download Link Protection".
  2. In the Joomla control panel select: "Extensions" > "Manage" > "Install".
  3. In the "Upload Package File" tab click "Browse for file" and locate the file "".

Download Link Protection will not work if the plugin 'System - Page Cache' is enabled unless you exclude the pages that contain the protected links.

Download Link Protection will not work if the extension Security Check is enabled. Please disable both 'System - Securitycheck' and 'System - Securitycheck Spam Protection'.

How To Use

Rules about the links to be protected

The links that refer to files and will be protected by Download Link Protection must follow the following rules:

  1. The path to the file should be relative starting from the Joomla's installation folder. e.g. "images/pdf/brochure.pdf"
  2. The path to the file should NOT be a URL or an absolute path (starting from the root folder).
  3. The path to the file should be consisted by latin characters (a-z), numbers (0-9), middle dash (-), underscore (_). Spaces or special characters are not allowed and may cause problems.

Protect a link that is accesible throught the editor

In order to protect the URL of a link, the only thing you need to do is to enable the plugin and add the word 'downloadlinkprotection' as class of the link. While editing the text that contains the link, use your editor in order to add 'downloadlinkprotection' as class of the link (without the quotes).

Joomla's standard editor (TinyMCE) does not support the capability to define the class of a link. You have to use another free editor like JCE Editor or Ark Editor.

Demo - Protect link in article

Protect a link or many links massively that are specified by a CSS selector

If you want to protect more links that are not editable through the editor, then you can add more CSS selectors in the field "CSS Selectors" of the extension. Example: .downloadlinkprotection, .pdf a, #client .download-link


  1. In the Joomla control panel select: "Extensions" > "Plugins" > "System - Download Link Protection".
  2. In the field 'CSS Selectors' add the selector from your links. See below the example for more details.
  3. Save the plugin.

Example: Let's suppose that there is an area in your website containing links to be protected. If this area has the class 'safe-links', the links in this area will be selected by the selector '.safe-links a'. You have to add this selector in the field 'CSS Selectors' of the plugin. So it will be like this: '.downloadlinkprotection, .safe-links a'.


Plugin Parameters


  • CSS Selectors: The CSS selectors for the links to be protected. You can change the default class or add more selectors in order to select massively the links to be protected. Example: .downloadlinkprotection, .pdf a, #client .download-link
  • Download Extensions: This field defines which file types will be downloaded and not opened through the browser. You can add more file types or remove some.
  • Link Parameter Name: This field defines the URL parameter of the protected URL that holds the identification number for the real URL. Example:[link_parameter_name]=1234567890
  • No File: Message to appear when the file doesn't exist. HTML is allowed.
  • Lock Icon: This parameter shows the lock symbol at the left of the text of the link in order to be easier for the user and admin to distinguish which link is protected. In order this to work, the template must load the Font Awesome toolkit.

Automatic Update

In order to be able to easily update the extension through the update system of Joomla, you need:

  • Your membership ID. This can be found in the email you received with the subscription information of this extension or in your profile in this website.
  • An active subscription of this extension. You can see your subscriptions in your profile as well.

Having the above fullfilled, do the following:

  1. Select "Extensions > Plugins".
  2. Locate in the list the line with name "Installer - Download Link Protection" where the column 'Type' is equal to 'Installer' and click to it.
  3. Fill in your membership id in the parameters, enable the plugin and save.

Now you will be able to update the extension through the Joomla update system. But if you want, you can do it manually by downloading the latest version from this website.

Uninstall from Joomla

  1. Select "Extensions > Manage > Manage".
  2. Locate in the list the line with name "Download Link Protection" where the column 'Type' is equal to 'Package'.
  3. Check the line and click "Uninstall". This will uninstall completely the extension.
Read More

Download Link Protection is based only to the following technologies: PHP and phpQuery.

  • Extension version: 1.0.3
  • Extension type: Plugin
  • Extension technologies: PHP 5.4+, phpQuery, phpUri
  • Compatible Joomla version: 3.1.5 or later
  • Compatible browsers: Chrome, Firefox, Opera, Edge, IE10, IE9, Safari
Read More
  • 1.0.3:
    • File names with empty spaces are supported.
  • 1.0.2:
    • More security. The files to be downloaded are copied to the 'tmp' folder of Joomla with a unique name in order to be downloaded from there and then deleted automatically.
  • 1.0.1:
    • Fix of deprecated method.
  • 1.0.0:
    • First release of the Download Link Protection extension.
Read More