Free Support Forum - aspose.com

How to set security to existing pdf? (AllowPrint .. etc)

Dear All,


how to set security to existing pdf? (AllowPrint … etc)

please help

Thanks & Regards
Ted

Hi Ted,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

You can set the file security using PdfFileSecurity class in Aspose.Pdf.Facades namespace. Please see the following documentation link for details and sample code as per your requirement.

Set Privileges on an Existing PDF File (Facades)

Please feel free to contact support in case you need any further assistance.

Thank You & Best Regards,