-1
I have a PDF file, which is a course, our company intends to make it available to users of certain online course.
To do that, I have to add password for opening the file on the person’s machine, and a custom footer, something like that:
"This copy is licensed to Thiago A. Klein, member ID: 56789. Copying, reproduction or sale is prohibited."
Does anyone have any idea of a Gem or Service that does this?
is using Jasperreports?
– adelmo00
Have you kicked off yet? If so, could you share your progress? the way the question is very broad, try to explain a little of what you have done or thought to help those interested in the subject to have a better idea of what you need to get the answer right
– Math
The question is really vague. Do you want the user to enter the password in the system or in the PDF file itself? To associate password to a template Rails has the helper has_secure_passport.
– user7261
At the company I’m working with, we’re using this project to convert HTML to PDF: https://github.com/mileszs/wicked_pdf
– Bruno Coimbra
I still have nothing done, because the doubt is great. The password needs to be typed when opening the pdf on the user’s machine. What needs to be done is: When the user asks to download the file, I have to put the password in the file and still add a text in the footer of all pages as indicated in the question. The . pdf file is a ready-made file (an ebook, for example), not generated by the system. I need to open the file, approximate size 35mb (!!), make the changes and output the download/link.
– Thiago A. Klein