We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word to PDF with password

Hi All,

Is there any feature for converting word document to PDF with password?

The input is unprotected word document and the output is PDF with password.

Thanks in advance.

Best Regards,
LCH

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

Thanks for your request. I think you should ask this question to Aspose.Pdf team. I will move this request to their forum. Our colleagues will answer you shortly.

Best regards.

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

Thanks for considering Aspose.

Aspose.Pdf offers the capability to protect the Pdf file with password. It also offers many other security features including, encrypting the Pdf document and applying access privileges. For more related information, please visit Security Features

Hi,

I want to add more comment. You can set the security feature like the following after BindXML:

//bind the xml generated by Aspose.Words

pdf1.BindXML(..);

//Assign a security instance to Pdf object

pdf1.Security = new Security();

//Set the master password for the PDF document

pdf1.Security.MasterPassword="master";

//Set the user password for the PDF document

pdf1.Security.UserPassword="user";

pdf1.Save(..);