Sort of a catch-22 here.

Discussion in 'HTML & Website Design' started by acrimon, Nov 15, 2007.

  1. #1
    Basically I want to sell an ebook. That means after payment through PayPal, I want to send people to a page in my site to download the file from.

    Obviously I don't want that page indexed, so I should have a robots.txt file, right?

    But then the robot.txt file is available for public viewing and anyone with half a brain can see where the file is anyway.

    Any thoughts?
     
    acrimon, Nov 15, 2007 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    zip the ebook and set a password on it?
     
    twistedspikes, Nov 15, 2007 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You dont need a robots file.txt file.

    Create a .Net/ php page with a small onload event handler. If they provide the correct code then the page actually servs up your ebook, if they dont give the correct code they simply get a html page saying the code is invalid.

    Normally you would restrict either the duration or number of downloads each code is allowed to make to prevent people from advertising/ selling it after purchase.
     
    AstarothSolutions, Nov 15, 2007 IP
  4. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #4
    I still think just zipping it with a password would be much easier though.
     
    twistedspikes, Nov 15, 2007 IP
  5. acrimon

    acrimon Active Member

    Messages:
    120
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #5
    Thanks for the replies. The problem with zipping it and having a password is that when someone orders the book through paypal, I don't think there's a way to give them the password.
     
    acrimon, Nov 16, 2007 IP
  6. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #6
    Ah right, so your not planning on being in contact with these people?
     
    twistedspikes, Nov 16, 2007 IP
  7. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you are selling through paypal then you either setup a script on your site to send the email with the password/ url or unique url in response to the IPN call that paypal makes or just include the password in the conformation email from PayPal (i think)
     
    AstarothSolutions, Nov 16, 2007 IP
  8. ezrapound

    ezrapound Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you could try using an autoresponder so when you get an email saying that they paid, your computer sends them an email with a password.
     
    ezrapound, Nov 16, 2007 IP