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

Free Support Forum - aspose.com

Creating secured PDF from word document

Hi Team,

We are using Aspose Word Java version 17.2.0.
We have to write the new functionality which will convert docx to secured PDF. We have code deployed in Jboss 7 with JDK 1.7.

​Question -
​We would like to know that what API we have to use to make the PDF secured from docx. The output PDF should have features provided below.
Following are the the features for secured PDF -

a) Security method - Password security (need to be set)
b) Printing - allowed
c) Document Assembly - Not allowed
d) Content copying - Not allowed
e) Content copying for accessibility - allowed
​f) page extraction - not allowed
​g) commenting - not allowed
​h) Filling of form fields - not allowed
i) Signing - not allowed
j) Creation of Template Pages - not allowed
h) Encryption Level - 128-bit RCA

Thanks in advance.


You can use the DocumentPrivilege class to apply the required security to a PDF document. Please refer to the following help topic: Set Privileges on an Existing PDF File