Re: [WebDNA] [OT] File structure for purchased downloads
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104798
interpreted = N
texte = The way I do it is to copy the master file to a certain directory and name it the same as the cart number. It's unique to that customer, and there's no danger of guessing other files. I have code that sweeps away the files after a certain number of days, but it sounds like you want to keep it there indefinitely, which would work out fine with this scheme.Terry>I perused the archives and couldn't find anything of substance. >Google was of little help because everyone wants to sell me >something, and Bing... Well, let's just say the "decision engine" >doesn't have much to say about web server file structure for >downloaded software. So, I will ask here... It's open to any >language, platform, etc. I can translate from VB or PHP just fine.>>Here is the hypothetical situation...>A user purchases the item from the store. It is logged that they >purchased it, and they have the option of downloading it as many >times as they want from their account. Obviously, I don't want to >give the users a direct link to the file so they can't "guess" the >other files and download them without purchase. I would think that >I could have a download page that has access to the file directory, >but the public can not.>>What is the best way to offer the file to download?>>Matthew Bohne>--------------------------------------------------------->This message is sent to you because you are subscribed to>the mailing list
.>To unsubscribe, E-mail to: >archives: http://mail.webdna.us/list/talk@webdna.us>old archives: http://dev.webdna.us/TalkListArchive/>Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Associated Messages, from the most recent to the oldest:
The way I do it is to copy the master file to a certain directory and name it the same as the cart number. It's unique to that customer, and there's no danger of guessing other files. I have code that sweeps away the files after a certain number of days, but it sounds like you want to keep it there indefinitely, which would work out fine with this scheme.Terry>I perused the archives and couldn't find anything of substance. >Google was of little help because everyone wants to sell me >something, and Bing... Well, let's just say the "decision engine" >doesn't have much to say about web server file structure for >downloaded software. So, I will ask here... It's open to any >language, platform, etc. I can translate from VB or PHP just fine.>>Here is the hypothetical situation...>A user purchases the item from the store. It is logged that they >purchased it, and they have the option of downloading it as many >times as they want from their account. Obviously, I don't want to >give the users a direct link to the file so they can't "guess" the >other files and download them without purchase. I would think that >I could have a download page that has access to the file directory, >but the public can not.>>What is the best way to offer the file to download?>>Matthew Bohne>--------------------------------------------------------->This message is sent to you because you are subscribed to>the mailing list .>To unsubscribe, E-mail to: >archives: http://mail.webdna.us/list/talk@webdna.us>old archives: http://dev.webdna.us/TalkListArchive/>Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Terry Wilson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
PIXO (1997)
[WebDNA] FYI: Internet slowly wakes up to PayPal's quiet fee hike (2009)
Just Testing (1997)
ups quickcost [repost] (1999)
[WebDNA] [OT] File structure for purchased downloads (2010)
$purchase vs [purchase] (1999)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
syntax question, not in online refernce (1997)
Performance Tuning (2006)
[delete] problem (1997)
unable to launch acgi in WebCat (1997)
Problem with Showif & Applescript (1997)
Where can I download to test? (2003)
ShippingCosts (1998)
WebCat b13 CGI -shownext- (1997)
extending webcatalog (1997)
How flexible is Shipping? (1997)
opps... rules for .tpl only in certain domains... (2000)
Protect (1997)
Shipping Formula % (2003)