• Resolved Orange Uglad

    (@rrestani)


    I have the login required for download but if I copy the download link and open in a browser that no user is logged in the download starts without requiring login.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @rrestani,

    You’ll want to check the File Download Method chosen at WooCommerce > Settings > Products > Downloadable Products.

    Normally, the Redirect only method allows users to download the file if they have a link to it even if not logged in. So, you might consider switching to either of the other two options, as explained in the digital downloads documentation.

    Note: Download links from cloud storage providers, e.g. Google Drive, might only work with the Redirect Only download method.

    I hope this helps.
    Thanks.

    Thread Starter Orange Uglad

    (@rrestani)

    I have WooCommerce > Settings > Products > Downloadable Products. set to force download.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    To confirm, the files you are using are hosted on your site, not an external site?

    Can you share an example URL for a file you’re using for a product? I’d recommend creating a product with a file you don’t mind if people download.

    Thread Starter Orange Uglad

    (@rrestani)

    Thread Starter Orange Uglad

    (@rrestani)

    Was that what you needed?

    Hi @rrestani,

    Just to be clear, this subdomain is used to host the files and that’s separate from the WooCommerce store. Is that right?

    If so then that won’t work. Files hosted outside of the actual WordPress site aren’t able to be protected. Any external files are severed via redirect regardless of the method selected.

    A way around that is to use something like the Amazon S3 extension. It lets you host downloadable files on Amazon’s S3 service and sever secure links that expire.

    https://woocommerce.com/products/amazon-s3-storage/

    Let us know if you have any questions.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘require login not working’ is closed to new replies.