thank you very much.. it works now.. more power to you paulo!
--- On Mon, 6/28/10, Paulo Soares <[email protected]> wrote:
From: Paulo Soares <[email protected]>
Subject: Re: [iText-questions] PDF Encryption
To: "Post all your questions about iText here"
<[email protected]>
Date: Monday, June 28, 2010, 6:26 PM
Don't use the same password for the user and the owner.
Paulo
From: wilson gwapo [mailto:[email protected]]
Sent: Monday, June 28, 2010 11:13 AM
To: [email protected]
Subject: [iText-questions] PDF Encryption
Hi,
I have a problem encrypting a pdf files.
Password works but i should not be able to copy any content from pdf document.
this works in acrobat reader 8 but in version 9 i can be able to select text,
copy the selected text and paste it anywhere.
below is the code im currently using.
pdf.PdfEncryptor.Encrypt(myReader, FinalPDF, pdf.PdfWriter.ENCRYPTION_AES_128,
pdfPWD, pdfPWD, pdf.PdfWriter.ALLOW_PRINTING)
i really need help on this matter. hope you can help me.
ps.
i am currently using itextsharp 5.0.0.0
regards,
wilson
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-----Inline Attachment Follows-----
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/