• Hi, I’ve created a website with a login and password to access to a menu with pages with secured uploaded files. I used download attachments for attaching documents to the pages. If you have the url of a document supposed to be “access restricted” you can download the document. Is it possible to restrict the download access of those documents for visitors without credential in the next version ? Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dFactory

    (@dfactory)

    In the upcoming release there will be a new option – URL’s encryption.
    This will allow you to make your links unique, without a possibility to “guess it”.

    It will not make your physical files locked, as this plugin is not intended for this, but the encryption should work here unless your members will not share the urls.

    Regards,
    Bartosz / dfactory team

    • This reply was modified 7 years, 12 months ago by dFactory.
    • This reply was modified 7 years, 12 months ago by dFactory.
    Thread Starter nownie

    (@nownie)

    Actually, the problem is that all wp-content/plugins/download-attachments documents are present in the web even if the documents downloaded with Download Attachments are in pages of a protected menu with login and password. I am not sure this new option will help for my problem.
    The modification would in da_download_attachment function

    if ( ! is_user_logged_in() ) {
    return false;
    }

    Thanks a lot
    Regards,

    • This reply was modified 7 years, 12 months ago by nownie. Reason: adding a code line for explanation
    Plugin Author dFactory

    (@dfactory)

    you may try using this action hook: da_process_file_download and return false for logged in users.
    but well provide another method in the next release

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘restriction download access to visitors without password’ is closed to new replies.