How to change or remove a password from a PDF file

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

How to change or remove a password from a PDF file

Post by Joan »

You can change the password of a pdf file only if you are the owner (also known as author) of the document.

From the desktop PDF Creator, press the "Shift" key while opening the document, this will prompt you for the owner password. Once the document is opened, go to Document Properties and update or remove the password.

From an application or a script, you can open the PDF file using the owner password:
pdf.OpenEx( filename, ownerpassword)
then call
Encrypt ( "","",0 )
and resave the document.

PS: We know that there are tools that allow removing passwords even if the author password is not available but this is illegal and not allowed by Amyuni products.
Post Reply