?
Solved

How to dynamically generate download links, which can only be accessed from an email

Posted on 2009-04-24
2
Medium Priority
?
278 Views
Last Modified: 2012-05-06
I'm planning on distributing my software by providing a download link.
I would like to do it in a such way that only registered customers can access that link.
This is a typical process flow:
1) A potential user enters their name and email information via a Web page
2) A download link is being send to the email address, specified by the user
3) When the user receives an email from the Web site they click on the embedded download link and being directed to the download  Web page, which, otherwise, is not directly accessible.

How is this done (assuming Apache2)

-Eugene
0
Comment
Question by:eugene-g
2 Comments
 
LVL 5

Accepted Solution

by:
TheVeee earned 1500 total points
ID: 24225786
Many ways to skin the cat on this

1st Way - Have them enter their userid and email with registration, once paid, I genenerated a unique key and sent it to them via email link with url and added the key as a paramenter.  They then received the email, clicked it and downloaded application, and once it was downloaded, my download application would then delete the key I sent them.  Then if they needed another copy, they would hit the page again, reverify themselves, and I send it again with the url and a different unique key.

2nd Way - Just have a generic link.   Adjust your software for them to enter the registration key to active.  This way you can give trial periods and then shut if off if they dont have the real registration key.  I also put the key into the registry and would check for it on the trial period so they just didnt keep downloading over and over trial versions.

Depends on how stict you want this... otherwise dont supply a key and just have them download the software and then have your software smart enough for them to enter their unique key.
0
 

Author Comment

by:eugene-g
ID: 24228131
I intent to distribute my software for free, I just need to know the name and the email address of the person who's downloading.
I would like for the generic download link only to be accessible to those who clicked on the link in their email and not to anyone who navigates to the download page directly.
Is this done via some directives in the httpd.conf or by some other means?

-Eugene
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question