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

Free Support Forum - aspose.com

Securing PDF content

Hi Team,

As part of our business requirement, we want to secure our PDF files content from copying, I would like to if there is a way we can achieve this with aspose. (Please note, PDFs should not password protected.)

Thanks for you help

Thanks
Ganesh

Hi Ganesh,


Thanks for contacting support.

In order to accomplish your requirement, you need to set access privileges over PDF file. Please visit the following link for further details on Set Privileges on an Existing PDF File

Please note that above mentioned procedure requires password but in case you do not want to set any open password for PDF file, you can simply use “” quotes without any value. In case you encounter any issue, please share your sample PDF document.

Hi Nayyer,

Thanks for your reply, that means any one who has the password can copy & paste the content of the pdf right? in this case the document content is not fully safe as there is chance that users can share the password.

Please advice.

Thanks
Ganesh

Hi Nayyer,

I have tried the solution provided on th forum, the code snippet is generating a secure PDF, but after entering the ‘user’ password, enduser can copy paste the content of the PDF (works without any issue on Firefox, Adobe Reader not allowing the copy though.)

Thanks
Ganesh

Hi Ganesh,


Thanks for sharing the details.

Setting encryption and access privileges on PDF file is the current solution available in our API. However as a workaround, you may consider converting PDF pages to Image format and then transform the image to PDF format and share the document with your users/customer. This way, they wont be able to copy contents from PDF document. For further details, please visit