Find Jobs
Hire Freelancers

Scripts for creating and serving a time-limited download link to a file

$30-250 USD

In Progress
Posted over 11 years ago

$30-250 USD

Paid on delivery
We need you to create a simple solution for sending a temporary download link to a specified email and providing a download script that will either serve the file for downloading (if the temporary link is still active) or will not (if it is expired). The point of the solution is to provide time-limited download links. What we need you to provide, specifically: 1. A simple form with one field (email) and some mechanism that prevents bots from making mess (CAPTCHA, session variable etc.) The form must also check the correct format of email before passing it further. 2. Upon submitting form, the script will take the email from the form and query a specific table in MySQL database and check that this email is already in the table. (This is a subscription database table that already exists and we wish to allow download only for members of the mailing list) If the email is not in the table, a message is displayed, program finished. If it is in the table then 3. Create a temporary link to a downloading script with the creation time and file ID encrypted in the token, such as [login to view URL] where is encrypted link creation time, plus a file ID. 4. Send an email message to the specified email. The email message will contain a template loaded from a file and the created download link. 5. When the user clicks the download link in the email, [login to view URL] script compares the encrypted time from the and checks against current server time. If the difference is less than specified number of hours, it will serve the file connected to the file ID for downloading, otherwise an error message will be displayed and no download will be allowed. The solution must feature a configuration file(s) for defining - file IDs, their respective locations on the server and their respective email templates locations - expiry time for the link (in minutes) - access info for the MySQL database - error messages and alike - email template is a simple UTF-8 file with the text of the email and one defined variable where the link will be inserted - must work with UTF-8 encoded emails Please read carefully before bidding, make sure you can deliver what we ask for. Thanks for looking!
Project ID: 2792019

About the project

5 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Easy job, worked with file hosting sites before where I had to similar tasks. Please see PM for more info.
$120 USD in 1 day
5.0 (23 reviews)
4.6
4.6
5 freelancers are bidding on average $164 USD for this job
User Avatar
I'm ready to assist. So let's start.
$200 USD in 1 day
5.0 (168 reviews)
6.6
6.6
User Avatar
We will create a form which have two fields: 1. eamil 2. captcha and end user will enter email and captcha and then based on the email address we will check in db and then create a link to download the file with expiration time encoded into the url. If the expiration time will exceed then user can not download that file. we have developed lot of site. Our Skype id: solutionswithus
$220 USD in 3 days
5.0 (5 reviews)
5.6
5.6
User Avatar
We have 10+ years of experience in software development, please check your PMB.
$160 USD in 5 days
5.0 (12 reviews)
5.1
5.1
User Avatar
Hi there, Professional UK web engineer with over 7+ years of experience. Regards
$150 USD in 0 day
5.0 (3 reviews)
3.3
3.3

About the client

Flag of SLOVAKIA
Banská Bystrica, Slovakia
4.9
35
Payment method verified
Member since Aug 26, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.