Support » Plugin: Members - Membership & User Role Editor Plugin » Private pdf file in members area

  • Hi
    Thanks for the great plugin
    I now have a private area on my site that you have to login to access
    and everything works great except that I cannot work out how to rstrict access to private files. (pages-yes, files-?)

    I have a pdf catalogue with sensitive information on it for members eyes only and I would like to link to view/downloaded it from the members only page.
    People who are not logged in should not be allowed to see it even if they type in the address.

    I have looked hard in the members documentation, but I have not been able to find a way to do this.

    I tried to attach the pdf as a media file to the members entry page but it seems that media file attachments to pages are not protected. I saw in another post that there might be a patch for this.

    https://gist.github.com/herewithme/6668210
    members-fix-attachment.php

    If this will solve the problem where do I put the patch?
    Or maybe you can you think of another way?
    Confused!

    Any help will be gratefully appreciated
    Many thanks
    Penelope

    http://wordpress.org/plugins/members/

  • The topic ‘Private pdf file in members area’ is closed to new replies.