Support » Plugin: Media Vault » PDF's can still be opened

  • Resolved ivhero

    (@ivhero)


    Hello!

    I am using this plugin on a site which requires users to be logged in to download .docx , .pdf and .zip files.

    If a user spoofs the URL and types in the download location of the file – they are redirected on the .docx , but if they try to spoof the pdf or zip, they can still access the file. The pdf opens in the browser and the .zip is available for download.

    What am I doing wrong?!

    http://wordpress.org/plugins/media-vault/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Max GJ Panas

    (@max-gjp)

    Hey,

    Are you running a single site install or multisite?

    Can you verify that the .pdfs are correctly being served from the Media Vault protected folder (ie: does the url contain a directory like ../_mediavault/..)

    Can you provide a link to some dummy content that is supposed to be protected but nevertheless is not?

    Thanks, hope I can help

    Thread Starter ivhero

    (@ivhero)

    Hi Max,

    thanks for responding quickly! To answer your question – yes, the pdf’s are being served from the Media Vault dir.

    My issue was that I am hosted with wpengine.com I emailed their awesome support team and they responded with this:

    “I just forced those file extensions to be handled by apache, therefore, handled directly by the plugin and its security settings. You will now find that they all have the same intended functionality”

    This solves my issue – thanks for a great plugin!

    Plugin Author Max GJ Panas

    (@max-gjp)

    Great to hear that your issue is resolved!

    Please consider leaving a review of the plugin if you found it useful, it would help me out a lot! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF's can still be opened’ is closed to new replies.