I want to sell paid digital downloads on a website.
Right now I'm using E-junkie until I have time to get something up and running, but I'm looking for a solution on how to create a unique download URL for every client who buys a product, keep that url active for x days and/or y download attempts, then expire the url.
I guess this should be some sort of alias to the real file location. I've thought about generating a random url, then storing it in a database and when that url is accessed call the real url and download the file. But how can I be sure the user can't see the real product url?