Generate pdf file with password protected

Hi,

I have small requirement to generate the pdf files with password
protected. For that I have created pdf file using FPDF library. but i am
unable to create a pdf
file with password protected.

kindly help me.

Regards,

Prabu J

On Thu, Mar 12, 2009 at 8:14 AM, Prabu J. [email protected]
wrote:

Hi,

I have small requirement to generate the pdf files with password
protected. For that I have created pdf file using FPDF library. but i am
unable to create a pdf
file with password protected.

You should really consider using Prawn instead of FPDF, even though it
also does not support this feature.

I am still waiting for someone to create a prawn-crypt (or
prawn-secure) extension, but so far all people do is ask for this
feature rather than work on it. It’s not a need of mine.

-greg

but i am unable to create a pdf file with password protected.

If everything else fails, you could run pdftk over the pdf on disk.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs