Write JavaScript Program to Protect PDFs

IN PROGRESS
Bids
5
Avg Bid (USD)
$124
Project Budget (USD)
$30 - $250

Project Description:
I sell PDF downloads on my site andrewscottmusic.com 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.

Skills required:
Javascript, PDF
Additional Files: How+to+Read+Music+Notation+-+Cheat+Sheet.pdf
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire try67
$ 150
in 3 days
$ 150
in 1 days
$ 80
in 1 days
Hire MrHimanshu
$ 100
in 5 days
$ 139
in 3 days