Support » Fixing WordPress » Restrict pdf file access to members only

  • I need to put a pdf file in a members only area. I have the members part set up. When I put up a link to the pdf anyone the url is in the address bar and anyone who knows the file address can access the file. Anyone know of a plugin to restrict access to files like this?


Viewing 1 replies (of 1 total)
  • The only plugin that gets close to what you want is this one. To protect a PDF file with a password you need to use HTTP password protection (WordPress can’t do it itself). This plugin adds a password to your entire blog, however it could be fiddled with to only protect a directory (for instance /path/to/pdf/folder).

    If the link to the file is in your members area though, you probably don’t need to password protect it. The only people who can find out the link are the people who have a member username/password, and if they’re willing to give out the PDF link to someone, they’re probably just as willing to download the PDF and attach it to an email.

    A final alternative solution would be to password protect the PDF itself, and write the password next to the link in the members area. You can password protect a PDF by clicking Security Options or similar in most versions of Adobe Acrobat Professional or when printing as a PDF on a Mac.

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict pdf file access to members only’ is closed to new replies.