How to stop people downloading a product without buying it?

Discussion in 'General Business' started by egdcltd, May 26, 2007.

  1. #1
    How would I go about making sure that visitors can only be sent to a download page for an eproduct after purchase, and not type in the url directly? In addition, make the download link(s) on that page only accessible from that page, again stopping people typing in an url directly.
     
    egdcltd, May 26, 2007 IP
  2. Kontent.solutions

    Kontent.solutions Peon

    Messages:
    1,157
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #2
    A friend of mine a very respectable marketer has a beautiful script.

    If you are regular on other marketing forums you'll probably know him or would have heard about his product.

    You can purchase it from :
    http://www.dlguard.com/

    Not an affiliate link, but a recommendation from a happy customer.

    ~G

    PS: Just check out the testi's and see who all have given the testi ;). That'll give you a fair enough idea that this product is one of the best of its sort.
     
    Kontent.solutions, May 26, 2007 IP
  3. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #3
    i would put the product in a well placed path that wouldn't be easily guessable on the server and then use php or some other server-side language to link to the file and check to see if payment has been made and if it has then force the download via php (it's rather simple really) and if no payment has been made then take them to the order form and/or payment options.
     
    ansi, May 26, 2007 IP
  4. tandac

    tandac Active Member

    Messages:
    337
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Here's the script I use:

    <?php
    include "paid_for.php";
    include "auth_user.php";

    $size=filesize("/home/site/setup.exe");
    header("Content-Type: application/octet-stream");
    header('Content-Disposition: attachment; filename="setup.exe"');
    header("Content-Length: ".$size);

    $handle = fopen("/home/site/setup.exe", "rb");
    while (!feof($handle)) {
    echo fread($handle, 8192);
    }
    fclose($handle);
    ?>

    The paid_for script and the auth_user scripts just check that the user has properly logged in and that the correct flag is on their account showing they've paid for the program.

    The trick is to make sure setup.exe (in this case) is stored outside your web directory.
     
    tandac, May 26, 2007 IP
  5. rennick

    rennick Peon

    Messages:
    85
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    DLGuard is a great product. You can also check out using something like e-junkie.com. It generates a dynamic, expiring link for downloading digital products.

    I've used e-junkie for almost a year now, and have been happy with their service, especially at the price.
     
    rennick, May 26, 2007 IP
  6. egdcltd

    egdcltd Peon

    Messages:
    691
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I had heard of DLGuard, so it's nice to see that users think it's good.

    I was placing products in a difficult to guess path (calling the directory download is not a good idea) but of course that doesn't stop people from sharing a valid link once they've purchased it.
     
    egdcltd, May 26, 2007 IP
  7. n-james

    n-james Well-Known Member

    Messages:
    1,367
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    165
    #7
    dlguard or that script above mentioned seem to do the trick on this issue ;)
     
    n-james, May 26, 2007 IP
  8. relatedr

    relatedr Well-Known Member

    Messages:
    448
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    138
    #8
    Okey! maybe Im putting my money on the wrong horse here but cant you just use paypal, ftp and F2(rename)? I mean it's free.

    Just log on to your paypal account, connect to your ftp server/client, open the paypal thank you page, change the link people go to after buying your product, delete the old product and send the new product.

    Example:
    your paypal thank you page sends people to this page "www.mysite.com/product.pdf"
    So every week just change the link, "www.mysite.com/product34523009.pdf"
    just remember to change it also in your ftp manager or ftp client.

    I know you have to do some work here but this is free! :D

    later,
     
    relatedr, May 26, 2007 IP
  9. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #9
    Or is it possible to ban all visitors that dont come from paypal?
     
    login, May 26, 2007 IP
  10. pc-monkey

    pc-monkey Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I can also recommend DLguard as very effective. It also logs IPs and keeps customer data for you.

    It's well worth it.
     
    pc-monkey, May 26, 2007 IP
  11. chatmasta

    chatmasta Peon

    Messages:
    693
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #11
    You could always hide the file deep in your server, and then require the user to register. Create a random string every time they log in, and copy the file over and rename it to that string. If they download it, great. Delete it when they logout, though, because it will be recreated next time they log in anyway.

    Hope you followed that...it's late.
     
    chatmasta, May 26, 2007 IP
  12. mike5941

    mike5941 Guest

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Unfortunately a determined thief could quite easily fake the referring website to get around this....
     
    mike5941, May 27, 2007 IP
  13. RichardKnox

    RichardKnox Peon

    Messages:
    209
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I would make a link, that gets stored in a database and once the buyer has clicked that link it expires. Its only valid for one download and it would be something like: /gdu5746fh2756.php
     
    RichardKnox, May 27, 2007 IP
  14. chatmasta

    chatmasta Peon

    Messages:
    693
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Yeah what I said. You just need to reupload (or do a .htaccess, but that may be able to be detected) the file to that specific location.
     
    chatmasta, May 27, 2007 IP
  15. tandac

    tandac Active Member

    Messages:
    337
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #15
    The code I posted could be adapted quite trivially to do what you want.

    If you need more help PM me.
     
    tandac, May 27, 2007 IP
  16. kenbiz

    kenbiz Well-Known Member

    Messages:
    342
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    108
    #16
    Yes, I agreed DLGuard can do a lot of wonders by protecting all your digital download link from hackers.

    But there are 2 more...you can consider it

    1. SmartDD - use to protect all digital products and it is very useful if you sell products at ebay

    2. DigitalRepoMan - This is use to protect the product from being downloaded by strangers or hackers by locking the file it self.
     
    kenbiz, May 27, 2007 IP
  17. egdcltd

    egdcltd Peon

    Messages:
    691
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Thanks for all the responses, I'll check them out.
     
    egdcltd, May 29, 2007 IP
  18. KunkVentures

    KunkVentures Peon

    Messages:
    744
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #18
    if it is an executable. I would let anyone download it for free, and have an activation that requires you to pay. Someone is more likely to pay once its on their computer ready to go, than when they still have to download and pay.
     
    KunkVentures, May 29, 2007 IP
  19. fizfaz

    fizfaz Well-Known Member

    Messages:
    334
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #19
    Sorry to up old thread..I'm looking the same thing..

    So lets say the customer already bought and successfully return from paypal website.. so thank you page is the download link.. is it ok to do that? .. how can make different link for every buyer.. and make it expire?
     
    fizfaz, Jun 15, 2007 IP
  20. nshadab

    nshadab Well-Known Member

    Messages:
    1,120
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    185
    #20
    dlguard is the best you'll find. i recommand that too..
     
    nshadab, Jun 15, 2007 IP