Title: reCaptcha Protected Downloads
Author: DevriX
Published: <strong>15 février 2017</strong>
Last modified: 15 février 2017

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/recaptcha-protected-downloads.svg)

# reCaptcha Protected Downloads

 Par [DevriX](https://profiles.wordpress.org/devrix/)

[Télécharger](https://downloads.wordpress.org/plugin/recaptcha-protected-downloads.0.1.zip)

 * [Détails](https://fr.wordpress.org/plugins/recaptcha-protected-downloads/#description)
 * [Avis](https://fr.wordpress.org/plugins/recaptcha-protected-downloads/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/recaptcha-protected-downloads/#installation)
 * [Développement](https://fr.wordpress.org/plugins/recaptcha-protected-downloads/#developers)

 [Support](https://wordpress.org/support/plugin/recaptcha-protected-downloads/)

## Description

Use the shortcode `[recaptcha-protected-download]` to wrap any direct download link
that you’d like reCaptcha to process.

`[recaptcha-protected-download]https://example.com/download.zip[/recaptcha-protected-
download]`

**Example**

Here’s my `hello world` post HTML:

    ```
    Hello! This page is dynamically generated with my plugin called Content Generator which you can download from <a href="[recaptcha-protected-download]https://my-cdn.tld/static/content-generator.zip[/recaptcha-protected-download]">here</a>.

    You can also download WordPress following <a href="[recaptcha-protected-download]https://wordpress.org/latest.zip[/recaptcha-protected-download]">this URL</a>
    ```

Which is parsed as follows:

    ```
    Hello! This page is dynamically generated with my plugin called Content Generator which you can download from <a href="#rcpdl=371bce9996c0afc711648c2c4f3d5c97">here</a>.

    You can also download WordPress following <a href="#rcpdl=7039e773658ed3c70d50e791ed4940fd">this URL</a>
    ```

**About**

This plugin opts to generate fake links (anchors) controlled with JavaScript to 
open up a modal once clicked to opt users to complete the anti-spam test with [Google reCaptcha](https://github.com/google/recaptcha/).

Once a user successfully submits a test, an AJAX callback will then verify the response
and parse the download.

`md5` is used to hash the download links and fetch them later once a user submits
a test.

You must provide your Google reCaptcha credentials which you can obtain from [this page](https://google.com/recaptcha/admin)

Once you activate the plugin, you should now navigate to « Settings » > « reCaptcha
Downlaods » (or « Options » > « reCaptcha Downlaods » for network activated plugin)
and add your Google reCaptcha credentials (public and private keys) which you can
obtain from https://www.google.com/recaptcha/admin

The development version of this plugin is hosted on Github, feel free to fork it,
contribute and improve it, or start a new issue if you want to report something 
like an unusual bug.

Here’s the Github repo: https://github.com/elhardoum/recaptcha-protected-downloads

Thank you!

## Captures d’écrans

[⌊reCaptcha popup after clicking download link⌉⌊reCaptcha popup after clicking download
link⌉[

reCaptcha popup after clicking download link

## Installation

 1. Visit ‘Plugins > Add New’
 2. Search for ‘reCaptcha Protected Downloads’
 3. Activate reCaptcha Protected Downloads from your Plugins page. You will have to
    activate it for the whole network.

Once you activate the plugin, you should now navigate to « Settings » > « reCaptcha
Downlaods » (or « Options » > « reCaptcha Downlaods » for network activated plugin)
and add your Google reCaptcha credentials (public and private keys) which you can
obtain from https://www.google.com/recaptcha/admin

## Avis

![](https://secure.gravatar.com/avatar/4633a51819787b6a178e03da3705d9635079db170e9dfed8273633540832b6e0?
s=60&d=retro&r=g)

### 󠀁[Great plugin but with a bug](https://wordpress.org/support/topic/simple-easy-and-functional-2/)󠁿

 [Colossal Pineapple](https://profiles.wordpress.org/colossalpineapple/) 9 juin 
2018

Edit: I just found out that doesn't work with multiple links in the same post. Just
one per post, that needs an improvement. Original review: Simple, easy and functional
It does what it says it does. Works flawlessly even with ad blockers and privacy
settings on.

 [ Lire l’avis ](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« reCaptcha Protected Downloads » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

[Traduisez « reCaptcha Protected Downloads » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/recaptcha-protected-downloads)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/recaptcha-protected-downloads/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/recaptcha-protected-downloads/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/recaptcha-protected-downloads/)
par [RSS](https://plugins.trac.wordpress.org/log/recaptcha-protected-downloads/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 0.1

 * Initial stable release.

## Méta

 *  Version **0.1**
 *  Dernière mise à jour **il y a 10 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 4.7.2 ou plus **
 *  Testé jusqu’à **4.7.39**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/recaptcha-protected-downloads/)
 * Étiquettes
 * [anti-spam](https://fr.wordpress.org/plugins/tags/anti-spam/)[content](https://fr.wordpress.org/plugins/tags/content/)
   [download](https://fr.wordpress.org/plugins/tags/download/)[shortcode](https://fr.wordpress.org/plugins/tags/shortcode/)
   [spam](https://fr.wordpress.org/plugins/tags/spam/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/recaptcha-protected-downloads/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  1 avis à 5 étoile     ](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/recaptcha-protected-downloads/reviews/)

## Contributeurs

 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/recaptcha-protected-downloads/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://samelh.com/)