Hi I am using iTextSharp.text in c# and I have requirement to set the following security settings to the PDF that is generated. I have tried following but it sets password and still allows page extraction.
PDFEncryptor pdfe = new PDFEncryptor(null, ~(PdfWriter.AllowAssembly));
pdfImg= pdfe.Encrypt(pdfImg);
How to solve this?