![]() Topic awaiting preservation: Secure way to allow downloads? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
![]() Hi all, |
Paranoid (IV) Inmate From: Minneapolis |
![]() What you need for absolute security is some verification process direct with the payment processor. There is no information that you receive from the browser that can be trusted. Instead you have to take the information given, request verification from PayPal or whatever through the back-end and only then grant access. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() I am going to make a couple of assumption that after the purchase goes through you are not worried about someone jumping into the user's stream to hijack the download. |
Bipolar (III) Inmate From: Australia |
![]() Thanks for that, in the end I was thinking along those lines. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() Both sound insecure. Sending something in a post variable, would have to go via the client. Just because it isn't in the URL, doesn't mean that it is not in the header. |
Bipolar (III) Inmate From: Australia |
![]() Mmm thanks War.. i see what you mean. There was one other option that verisign had (but not paypal) - called silent post, where it sends the results to the server only. However i think the results were limited and only a few bits of data such as success, not sure how I can determine which product to allow download for in that case... |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() You would have to read over their docs, but you would send your details to them via a socket, and then wait for a response. |
Bipolar (III) Inmate From: Australia |
![]() i think probably because this is their cheapest option etc, it is more limited. And well paypal.... not sure if they even have that option |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() The last time I dealt with a shopping cart had to be 4 or 5 years ago, so I am not up on everything that is going on with them, but I have heard of sites specifically designed to sell and send downloads for people. Maybe an option like that would be good for you. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() I'd go the route of sending a download link after the processing has occured. Tie the link to a particular "account" and just let them download it for a small window once they get to the site. You can also lock this to an IP if you want but that method gets problematic for people behind corporate NAT's etc. Granted they can give someone else the URL and account info but since you're letting people download stuff anyway they can pretty much redistribute at will. |