www.webdeveloper.com
Results 1 to 3 of 3

Thread: Looking for a download key generation/authentication script

  1. #1
    Join Date
    Nov 2014
    Posts
    4

    Looking for a download key generation/authentication script

    I'm not sure if Javascript is the right forum for this 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. Can this be done by Javascript or do I need a different solution? 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.

  2. #2
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,415
    Javascript is not a very secure environment for anything.

    You might get more relevant answers by posting the question to the PHP or database forums.

  3. #3
    Join Date
    Nov 2014
    Posts
    4
    Will do. Thank you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles