I’m not sure if this is the right forum for this question but here goes. I’m working on a site for a software company. They would like qualified users to be able to download a demo copy of the software from their web site. I’ve built a form the user would fill out and submit to request a download key. The form needs to email an administrator (so they can get the user’s contact info for follow-up) AND generate an email to the user with a randomly-generated key or password and a link to the download page. The user would enter the key, click the Submit button, and be directed to a page where they can download the demo. So, the script needs to generate the key and be able to authenticate it when the user submits it. The key would only be valid for a certain amount of time — say 48 hours — so it can’t be used over and over. The client doesn’t want one standard password to be used because they don’t want users giving it out to other people — they want to capture contact info for whoever is requesting to download the demo so that Sales can follow up.
Is there a tool or script that does this, and is it something that can be plugged into the existing html page? I’m not even sure what to call it. I’ve done Google searches for things like “secure key generator” but I’m not finding what I’m looking for. Is it more complex than just plugging in a chunk of code and changing a few parameters? If anyone can point me in the right direction, I would appreciate it.
Thank you.