The following code makes a copy of an existing PDF and applies certain permissions to it. See the PdfWriter class for the various permissions that are possible. [ July 30, 2008: Message edited by: Ulf Dittmer ]
I tried this code on my program, but the result is that it asks for a password upon opening. Is there anyway that it opens the file first and then when you try to copy / print it, you will encounter a password confirmation?