Support » Plugin: Membership 2 » CSV export and protect files

  • Resolved michael.oeser

    (@michaeloeser-1)


    Hi,

    got two questions:

    1. Can I export users data as csv file?
    2. Can I potect files (PDFs) from beeing downloaded by non-members?

    Thanks
    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello Michael,

    1. Can I export users data as csv file?

    Membership 2 does not have that feature – it can only export members data (related to membership) in json format (this is used for moving members between two sites with Membership 2).
    You should be able to export it with other plugin like https://pl.wordpress.org/plugins/wp-all-export/

    2. Can I potect files (PDFs) from beeing downloaded by non-members?

    Yes, Membership 2 has add-on “Media Protection Protect Images and other Media-Library content.” that allows to protect files from non-members.
    Please note that this will not work if visitors have full direct path to file.

    kind regards,
    Kasia

    Thread Starter michael.oeser

    (@michaeloeser-1)

    Please note that this will not work if visitors have full direct path to file.

    Can you explain that? Does it mean if a logged in member copies the link to the file he can give it to someone else and this person can see the file?

    My use case is this. I want one protected page that lists links to PDF files. Those links (and the files of course) should be only accesible to logged in users.

    Does that work with the plugin/addon?

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Michael,

    Media Protection add-on will by default mask the URL of your files, you can choose different masking options when you open add-on details.
    This will make your file URL look like this for example:
    domain.com/downloads/ms_3252.pdf

    And if user/visitor without membership goes to that URL they will not be able to access the file.
    However original URL which you can find in media library, for example domain.com/wp-content/uploads/2017/02/myfile.pdf, will not be protected, so if they somehow get full path to file they will be able to access it.

    Cheers,
    Predrag

    Thread Starter michael.oeser

    (@michaeloeser-1)

    Hey Predrag,

    that´s fine I guess. Thanks a lot.

    Cheers
    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSV export and protect files’ is closed to new replies.