When anonymous users wants to download e.g a PDF file, they must first fill in their email address. What is best way to set this up?


1 Answer 1


The easiest way without resorting to coding would be setting up a Webform that the user is required to fill out, containing only one email field, and putting the link to the PDF in the completion message.

If you need strict access control on the PDF, you can setup your site with Email Registration and Generate Password, and redirect the user after registration to a node that is visible only to authenticated users. Add a file field using the private file system to the content type and attach the PDF to the node.

  • but is it then also (basically) possible, users be able to reach the PDF file without the completion message? In other worths, it should be something quit secure and users are not be able to see the PDF on the server. Only after fill in their email address.
    – meez
    Mar 6, 2016 at 6:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.