Hi, I have a little issue here. I’m working on an eBook site and need
to generate PDFs. I managed it using PDF::Writer and did the trick
quite well but now I want to generate PDFs with a password access.
After checking on internet, I saw that PDF::Writer encrypt method was
removed (for encryption algorithm was cracked or something like that).
Had a look at the Prawn plugin but it has no security module and can’t
be used to do so.
Is there any way to create password protected PDFs with Ruby?
Other problem, I want to modifiy the PDF generation to create new PDFs
by copying PDF files already existing and adding a front page with the
customer name and a little message. I managed read PDF files and copy
the content in a new PDF but I’m losing all the format (the result is
just a new PDF with the text of the original PDF but with no
format…). Anyone know how I can copy a PDF and add this front page?
Thanks for your help,