Find Jobs
Hire Freelancers

Write JavaScript Program to Protect PDFs

$30-250 USD

In Progress
Posted over 11 years ago

$30-250 USD

Paid on delivery
I sell PDF downloads on my site [login to view URL] and want to restrict buyers to only being able to open a PDF for 5 days after they first open it. Each time the user opens the PDF, he should be prompted for a password. I want a program that will enable me to add a restriction to PDFs, then allow me to save the modified file under a new name. I believe this can be done with Java Script. The script should travel with the PDF, embedded in the PDF itself. The script would start counting when the user opens the PDF file for the first time. When 5 days have elapsed since first opening, the password should become invalid. The PDF won't render or become usable in any other way. Instead it should display a message about password expiration, prevent user from scrolling and prevent text/graphics from rendering. The expiration counter should start when user first opens the file, and expire 5 days after that moment. In addition the following features should apply: ??1. The expiration counter for each protected PDF should be embedded within the document, and once the document expires no copies made of it will open. ?2. When the protected document is set to expire after 5 days from first opening and if the user makes a copy after 3 days, both the copy and the original will only open for 2 more days each. So the script will check if it's been 5 days since the file was first opened 3. The script should work on both Windows and Macs. To clarify the requirements: The password must last for only 5 days after the file is first opened. If the user downloads the file today, but doesn't open it until next week, then the 5 days counting starts from next week. The password locking must travel with the file. So that no one can copy the file and keep it alive by opening the copies. Attached is a sample file to which you can test your method in order to show me your ability to do this job. The deliverable for this job is a simple program that will enable me to add the modification to PDFs as described above, then allow me to save the modified file under a new name. If you can help, please work your magic on the file in the attachment so I can see what you can do.
Project ID: 3984831

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
hi, done please check pm. for sample. thanks
$80 USD in 1 day
5.0 (3 reviews)
2.0
2.0
5 freelancers are bidding on average $124 USD for this job
User Avatar
Hi, I specialize in creating exactly this kind of custom-made scripts for PDF files. Please see my PM for more info...
$150 USD in 3 days
4.7 (8 reviews)
4.6
4.6
User Avatar
Hi Andrew, Hope you are doing well. Please read PM for some queries and clarifications. Regards Kapil
$150 USD in 1 day
4.7 (4 reviews)
3.0
3.0
User Avatar
Hello, Good day, How are you. I would like to work for you on this project and have a long term relationship with you. You can see my rating and feedback by this you can have clear idea about my expertise. Waiting for your positive reply. Best Regards, Faizan
$139 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
We are Experienced professional team. 3 year experience in javascript. lets get started . thank you.
$100 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Aldgate, Australia
5.0
25
Payment method verified
Member since Feb 25, 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.