Woocommerce: How to Protect Your Digital Downloads

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025
  • WooCommerce is great for selling digital downloads, but protecting them is a little trickier! This tutorial shows you a simple method of securing your valuable downloads!
    If you're using a Unix based hosting plan (most hosting accounts use Unix), securing your digital downloads is fairly easy to do.
    In this video for WooCommerce, I'll show you step by step how to upload your files above your website address!
    Free tutorials for Wordpress, Slider Revolution and Visual Composer. New tutorials added every Wednesday.
    Take your Wordpress website and skills to the next level!
    AFFILIATE DOWNLOADS
    If you like what we do and would like to support us, please consider using these affiliate links when purchasing any of the plugins covered in our tutorials. Thank you for your support.
    CSSHERO: bit.ly/2qbrRl6
    ELEMENTOR PRO: jo.my/1s0t2s2
    SLIDER REVOLUTION 5 - bit.ly/2qDFU4G
    VISUAL COMPOSER: bit.ly/2rnre70
    IMPREZA THEME: bit.ly/2rn5yYx
    SUBSCRIBE
    bit.ly/2rX7rhu
    LETS CONNECT:
    / wptutz
    SUPPORT: Our website offers additional information and perks. Please check it out! wptuts.co.uk
    ~-~~-~~~-~~-~
    Speed Up Your Wordpress Website in 30 Seconds or Less!!
    • Speed Up Your Wordpres...
    ~-~~-~~~-~~-~

Комментарии • 92

  • @notabolished1331
    @notabolished1331 3 года назад +3

    After months of running around in circles, this security solution finally worked for me, free of charge 😀😀👍👍👍 Thank you very much

    • @aishawilson7649
      @aishawilson7649 3 года назад

      Hi Not Abolished! How did you find your account name, the "123abc123" part for the file?

  • @Blackbeard_El_Torino
    @Blackbeard_El_Torino 6 лет назад +8

    Just tried it, worked great, I also connected it with a data stamp so every pdf is stamped with their name and email :P

  • @DutchVikingGuy21
    @DutchVikingGuy21 5 лет назад +3

    But if people share that new URL, others who did not pay for it, can still access the file, right? As long as they have the URL they could still access the file.. So how do you set it up in such a way that if you try to access a file without being logged in and having paid for the specific file, you get a message saying 'access denied' ?

  • @PassioneItaliana
    @PassioneItaliana 4 года назад

    Love the videos, thanks! I want to sell a course online (mp4 and pdf) and want to secure them, but most of all i don't wan the content to be shareable. would my best bet be learndash or is there a way to "protect" the downloads? thx!

  • @CarinaParry
    @CarinaParry 6 лет назад +5

    Great to know this and thank you very much for this guide. My only comment is it doesn't stop those people who already have it to send copies to other people. I guess that's the thing about Digital downloads though ;)

    • @WPTuts
      @WPTuts  6 лет назад

      Sadly that is true. Once someone has the file, it's open to sharing.

    • @CarinaParry
      @CarinaParry 6 лет назад +2

      But at the same token, that's only a portion of people, not everyone, so this is still a clever work through. ;) I'm guilty of finding many PDFs when i want to and maybe now I can see the frustrating side of it too [for the creator] :)

    • @Blackbeard_El_Torino
      @Blackbeard_El_Torino 6 лет назад +8

      There is a plugin that will stamp every page of the pdf with the users name and email address which makes it less interesting to share but you can never stop it.

    • @mjchandlerscorner785
      @mjchandlerscorner785 4 года назад

      @@WPTuts Is the same true for course content? There was someone I was following who said that his course conent was being abused for a whole year before he found out about it and it was a wordpress site. People were either downloading the course or taking it online without paying for it.

  • @JuanManuelAlcantara
    @JuanManuelAlcantara Год назад +1

    It worked! Thanks

  • @MsTrinta
    @MsTrinta 5 лет назад +2

    Thanks a million - this was exactly what I was looking for.

  • @dunar6772
    @dunar6772 3 года назад

    Using a separate folder to be accessed from links sent to clients after their purchase when they want to download the files is not only a way to secure these files, but it is also useful in other aspect: if you also provide to customers demos, and have a folder with demos only, the Search engine (plugin) would not access and provide its results in double, that is, listed the titles of all your files in double (and the demo title and the full track title). The search would be done inside the public_html folder only.

  • @rodrigo.teixeira
    @rodrigo.teixeira 3 года назад

    Thank you so much! Very helpful!

  • @xcaliburG37S
    @xcaliburG37S 4 года назад

    Great tip and thank you, I've always known to do this when developing custom PHP apps, but good to know about digital files for woocommerce.

  • @AndyMoradi
    @AndyMoradi 4 года назад

    Thanks for the info mate. I built a whole website which took me 2 weeks and i designed it all but I cant figure out a way to make a simple downloadable click button let alone doing it bypassing my domain. any suggestions will be much appreciated.

  • @yungmaestro
    @yungmaestro 6 лет назад

    Thank u! I have been looking for this info for quite some time! I really appreciate this video

  • @chrisvine8065
    @chrisvine8065 5 лет назад +10

    For a non-tech person. I. don't get it. How do you get to the location where you create a file? How do I get there? Step-by-step for people like me is helpful

    • @einfachbjoern
      @einfachbjoern 3 года назад

      If you have a webhosting, you got login data (a url, username and password) to connect via FTP (you need software like Filezilla to connect via FTP). Then you connect with the login data via FileZilla to your webhosting and you get a similar window like in the video, where you see many directories. Often the directory which could visited by the public in web is named "httpdocs" or "html".
      But here you need to create the directory "downloads" or "audiodownloads" and there you can upload via Filezilla the digital products you want to sell.

  • @onlypencil
    @onlypencil 6 лет назад +1

    Can something like this be done but with Google drive?

  • @PressPrintParty
    @PressPrintParty 6 лет назад +2

    Thank you so much for this tutorial. It's exactly what I was looking for. It works great!

    • @WPTuts
      @WPTuts  6 лет назад +1

      Great to hear its helped out 😁

    • @midedgedigital9787
      @midedgedigital9787 5 лет назад +1

      i am making a print template shop you are inspiring

  • @KatlegoMonamodi
    @KatlegoMonamodi 4 года назад

    I find it very useful, thank you very much!

  • @dr.victorchukwuemeka886
    @dr.victorchukwuemeka886 3 года назад

    Hi. Great advice. Is is possible to protect a flipbook? When creating a flipbook (either by wordpress or externally) a link is provided. Can I use the cpanel to protect this link form being shared in the same way as a pdf for example?

  • @palmreadings
    @palmreadings 2 года назад

    HI, Thanks for the video, however, I tested by buying my own ebook to test it, and I get this message after clicking the download button: "Unable to insert download log entry in database." Can you help? Thank you.

  • @GlynisDance
    @GlynisDance 6 лет назад +1

    Thank you very much - I'll be trying this out!

  • @bluestweaks77
    @bluestweaks77 4 года назад

    Thanks for sharing this video...How can I grant access to downloadable products after payment in Woocommerce? I already clicked on the grant access box and the enable automatic download, but everytime I get a sale, the transaction is set to "On Hold" and I have to manually complete the transaction in order to grant access. My "Downloads require login" check box by the way is unchecked. Thanks in advance.

  • @hbibokillo1481
    @hbibokillo1481 6 лет назад +3

    Hi. I tried this solution. It's worked for me. I'm on siteground. I tryed to download files illegal y but I couldn't. So it worked. The issue is : what about the order receipt sended to the emails client and have a link to the downloads. That will work?.

    • @WPTuts
      @WPTuts  6 лет назад +1

      Yes, the links in the email will work fine but are obfuscated for security. 👍

  • @EnmityEDM
    @EnmityEDM 2 года назад

    how to automate this with vendors who upload stuff to my site to sell?

  • @booshen
    @booshen 2 года назад

    If the site is multivendor, how can this be achieved if the vendor is doing the upload?

  • @Youtick
    @Youtick 3 года назад

    Thank you for the video. It worked for me. But once they have the document, they can duplicate and sell it. How do I protect the document itself? Do I put copyright words everywhere like istock pix? Any ideas, anyone?

  • @nateazevedo9836
    @nateazevedo9836 5 лет назад +1

    Great content. Earned a sub here!

  • @sovereigntrafalgar4332
    @sovereigntrafalgar4332 5 лет назад

    Any plug-in for Woo that monitors IP addy access so that unauthorized links attempting to access the file from another country say are blocked? Or, is that something you'll only find on a dedicated product hosting service?

  • @cgsouq3dmodels
    @cgsouq3dmodels 5 лет назад

    Great tutorial, can you kindly let me know i how I restrict download limit to user? Like 20 downloads per day? Thanks if any body else knows kindly share, thanks again.

  • @shakabjjacademy
    @shakabjjacademy 3 года назад

    can I put my file in Google Drive?

  • @littlepeoplenutrition
    @littlepeoplenutrition 6 лет назад +1

    Thank you!! It worked nicely! :)

  • @juancarlosrodriguez5022
    @juancarlosrodriguez5022 5 лет назад

    Thank you very much. It worked perfectly. Best regards.

  • @chandrajeetrajbhar5602
    @chandrajeetrajbhar5602 4 года назад

    Sir,
    I have one question that I have already have multiple PDF file and I need that everyone whoever try to views should submit their email before view or download. Will it possible in this plugin

  • @SopeshNath
    @SopeshNath 3 года назад

    Hi, I have created a Downlodable Product, which is having more than 1000 downloadable files. I have to give these as separate files itself. But after adding 304 files, it is not taking any more files. It is showing to add files, after adding and updating it is coming back to the last 304 file. adding more than 304 downloadable files to a product and the 305th is simply not getting saved. So how can I add more downloadable files to single product

  • @JayCarver
    @JayCarver 7 лет назад +1

    Question...how's this any different from just being able to copy and paste the url path within the public html folder on the server? If a customer has a link after purchase they can still share it with others if they want, correct?

    • @WPTuts
      @WPTuts  7 лет назад +4

      They can share the link that they are supplied after a purchase, but you can set that to be limited to X downloads. Directly linking to the file URL that us created using the method in this video will NOT allow the file to be downloaded as it is above the websites root directory.
      Give it a try!

  • @PerryMan1
    @PerryMan1 5 лет назад +1

    Thanks for this unfortunately I can't get it working and am in a similar situation tro Jeff Kyle getting an error message telling me the "File does not exist on the server" .I'd love for this to work. I am with Blue Host .Do you have any suggestions..???

    • @WPTuts
      @WPTuts  5 лет назад

      It may be worth checking with your hosting company to ensure that they don't block this method or if there any restrictions in place.

  • @AnnaRosaEverythingEnergy
    @AnnaRosaEverythingEnergy 3 года назад

    If a person is emailed a download link and gets their digital product. Why would the link work for the purchaser and not to their friends? (I am missing something big here :) I am wondering how this adds security.

  • @maulik882
    @maulik882 4 года назад

    How to Set download limit for Member like member can only download 10 files par day?

  • @marcosmg4853
    @marcosmg4853 4 года назад

    Thanks for the tutorial! I managed to upload files outside root directory but still when customer purchase the link can be shared and used by anyone? How can I prevent this from happening?

  • @imaginemusic2588
    @imaginemusic2588 3 года назад +1

    WooCommerce doesn't accept this kind of URL's! Anything entered on the File URL field that doesn't start with "..." or the "..." and you get the following error:
    "The downloadable file '/home/web-folder/downloads/file.ext' cannot be used as it does not exist on the server."
    I don't know if this was changed later and it was ok in 2017 but now in 2021 doesn't work, unfortunately ... Is there an update on this? ...

    • @howitsmade477
      @howitsmade477 3 года назад +1

      Same issue, would like to see a solution

  • @yallhola33
    @yallhola33 3 года назад

    Thank you. Do you have any tips to make sure people cannot copy from a PDF after being downloaded?
    Or maybe to stop them from sharing?

    • @TUI_GOKU697
      @TUI_GOKU697 3 года назад

      Hi, i have the same query. did u find a solution?

    • @kunalchangoiwala7474
      @kunalchangoiwala7474 2 года назад

      @@TUI_GOKU697 same query, please help with any solution

    • @churchmouse7131
      @churchmouse7131 2 года назад

      Same query, any hints

  • @areabmian
    @areabmian 4 года назад

    Really helpful.

  • @infinitycreations3694
    @infinitycreations3694 5 лет назад +1

    i really don't see the need for this. I copied the URL and tried to access it like i was a Thief in incognito. But it showed me an error page that it was forbidden to access that page. So what i'm i missing here? are you saying that woo commerce is not that secure? because from this experiment, i think they are.

  • @worthdesigningTubed
    @worthdesigningTubed 7 лет назад +1

    I'll be using Amazon S3 to store my digital downloads - how to protect those files?

    • @caryhuff8924
      @caryhuff8924 6 лет назад +1

      I'm not exactly sure myself, yet have you tried Googling it, or looking that up on RUclips, or even contacting Amazon?
      I did a quick Google search. Have a look: forums.aws.amazon.com/thread.jspa?threadID=20505
      Here's a RUclips video about it: ruclips.net/video/68R6VQOBf9M/видео.html
      Hope this helps. :)

  • @iceboss226
    @iceboss226 5 лет назад +3

    When I press "update" the file path information disappears. Why is that?

  • @fuzzripear
    @fuzzripear 6 лет назад +1

    do your ftp account login details not get comprised of you are putting it into a link like this?

    • @WPTuts
      @WPTuts  6 лет назад

      No, as no ftp details are displayed when you use this method.

    • @fuzzripear
      @fuzzripear 6 лет назад

      in filezilla you can click on your downloadable file (in the is case the audio.zip )and in the menu click "copy url to clipboard" then paste that as your download url, which will look something like
      ftp://"your ip address"/downloads/audio.zip.
      My issue is that it then asks for a username and password, which i am certainly not giving out to people on the internet, so not sure as to how this method protects anything?

    • @WPTuts
      @WPTuts  6 лет назад +1

      @@fuzzripear that's not how this method was demonstrated in the video. You use the direct link to the above root folder, no ftp:// link, etc.

  • @waelamad
    @waelamad 5 лет назад

    Thank you very much for this video, BUT I tried to use your recommended method, but downloading always fail after about 300sec, although i configured my php.ini timeout to 7200sec, my shared hosting running php7.2, but same fail result of downloading after 5min, could you please help?

  • @Axoervm
    @Axoervm 5 лет назад

    Hi, I want to keep all the digital downloadable products (suppose, test.zip) in a new folder (downloads) that will be outside of the public_html. Suppose, /home/wptuts/downloads/test.zip, then what will be the URL of the test.zip file that I can put in the woocommerce product?
    I am using shared hosting. If I upload all the files in the WP media, then undoubtedly my site size will be huge that I don't want. Hopefully, you can understand the situation and give me a great solution.
    Bye, Take Care, Mate.

  • @nssdesigns
    @nssdesigns 7 лет назад +1

    Spot on! Another thumbs up from me...

    • @WPTuts
      @WPTuts  7 лет назад

      Thanks Paul, glad you found the tutorial useful 😃

  • @anzianoconsultants
    @anzianoconsultants 5 лет назад

    hello can you help , i tried adding the file but woocommerce give me an as "file not found on the server"

  • @DjKimhera
    @DjKimhera 5 лет назад

    So with these methods, I can sell non-downloadable video courses?

  • @nataashatorzsa
    @nataashatorzsa 5 лет назад

    What if your website is hosted on wordpress itself not an external host?

  • @miszaszogaj6980
    @miszaszogaj6980 6 лет назад

    Hello! First, thanks for this video :) Have a little question. Is there any chance that this method may cause some issues with files downloading?

    • @WPTuts
      @WPTuts  6 лет назад

      It shouldn't cause any issues, but if you find you run into problems, I'd suggest reaching out to your hosting company to check they don't have any restrictions in place.

    • @miszaszogaj6980
      @miszaszogaj6980 6 лет назад

      Alright, thanks for the advice, I'll try to figure out what's going on with my hosting provider :) cheers!

  • @jeffkyle6910
    @jeffkyle6910 6 лет назад +2

    🔴 While this method works on a live server, WooCommerce won't save the link on a local development WooCommerce install if the link is outside of the public directory (unless you have a solution for that). When I click save on my local WooCommerce install, I get this error: *The downloadable file /home/xxxxxxx/downloads/song.mp3 cannot be used as it does not exist on the server.* I have made sure that the server path is correct. It would be ideal if we could get all of the download links set on the local version while developing the site. Thanks so much for your help. 🙂

  • @steveg9302
    @steveg9302 3 года назад

    WP/WooCommerce has seemed to address this issue. It doesn't show the public link anymore. But thanks anyway!

  • @moviesvideo121
    @moviesvideo121 5 лет назад

    Pls I use Bluehost, is it going to work?

    • @WPTuts
      @WPTuts  5 лет назад

      I'm afraid I've never used Blue host, so could say. 🤔

  • @unkillablespirits8582
    @unkillablespirits8582 4 года назад

    it bypasses the domain and goes straight to the server how the hell is that more secure ?

    • @WPTuts
      @WPTuts  4 года назад

      Because the link is not publicly accessible. Have you actually tried the method used here?

    • @unkillablespirits8582
      @unkillablespirits8582 4 года назад

      @@WPTuts no I almost did tho I'm still trying to find a good secure way may try this and make you know

  • @dtstur
    @dtstur 4 года назад

    hello i want to sell unique product downloadable
    For example: I want to sell barcode with excel file
    How can I sell different codes for each customer?
    Even if someone else buys the same product, they need to download a different code.

  • @NMarkeTech
    @NMarkeTech 4 года назад

    Subscribed several times and the subscribe is red again - like I did not. Anyone had this issue before?

  • @YOLO-IN
    @YOLO-IN 5 лет назад

    noooo dont doo thattt your are expose to RCE