Hi,

How can I force users to solve a Captcha before they can download a file from the site (the files are uploaded using cck). Is there an easy solution for this? I'm new to Drupal so I might have missed something obvious.

Thanks,

Omri

Comments

soxofaan’s picture

Title: Captcha before files are downloaded » CAPTCHA before downloading files
Version: 6.x-1.0-rc2 » 6.x-2.x-dev
Category: support » feature

Interesting question.

I'm not aware of an easy drop-in solution for the moment. You need at least

  • The private download method (see ?q=admin/settings/file-system) of course, which is part of Drupal Core.
  • A form that initiates the file downloading when successfully submitted. On this form you should put the CAPTCHA. I don't know if this form exists already as some sort of module of code snippet. I'm also not very familiar with the private download method, so I can't really help here.
omri100’s picture

Does anyone know how to build such a form?

Is there a code example somewhere?

Thanks,

Omri

soxofaan’s picture

I just found the File Access module.
I think this feature request fits nicely in the scope of that module, so I made this feature request for it:
#496160: Form before download (enables CAPTCHA protection)

omri100’s picture

Thanks!

MakeOnlineShop’s picture

I am also looking for a solution, anything easy now ? Thanks a lot.

wundo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)