Sign Here
Suppose you are filling out a credit application electronically in PDF format. The PDF contains the fields to enter data such as your income and assets. You are able to save the filled out PDF if you’re using Acrobat or other software such as FyTek’s PDF File Save. How do you know the information you key in won’t be changed later by an unscrupulous bank employee? One way is to encrypt your PDF when you save it. You can prevent other users from copying text, printing, or making changes by specifying an owner and/or user password when saving the PDF and selecting the appropriate permissions. For some cases this might be good enough - but it’s no guarantee.
So how can you prevent someone else from changing a loan application, legal contract or other document that you filled out in PDF even with encryption? The short answer is - you can’t. As it turns out, you don’t really need to however. The key here is to digitally sign the document instead.
Why Sign?
What benefit does a digital signature provide? No, it doesn’t prevent someone from changing the data in your PDF. You can use encryption along with a digital signature but there’s no requirement for doing so. The signature provides a mechanism to show whether or not the document has been tampered with as opposed to preventing tampering. The process of signing a PDF involves taking the entire completed PDF (except for a small space set aside for the signature) along with a private signing key you create to create a hashed value of the document. The program saving your PDF will run this process for you. This value is included with the PDF in the area set aside for it.
The PDF signature is checked each time the document is opened in Adobe Reader or Acrobat. The process is similar to signing where the document, minus the signature, is hashed with the public signing key in the document. If even a single byte has been modified, added or removed, a different hash will be generated from what is stored in the PDF. A different hash will result in the signature being invalid and thus not the originally signed document.
The signature may or may not be a visible stamp somewhere on the pages of the PDF. Below is an example of a digital signature displayed on the page of a PDF. The signature field will likely look different depending on the application used to create it but the result is the same. You can still access the signature properties through the signature panel in Adobe Acrobat or Reader if the signature is not visible on any page in the document.

Signature field example
Click the signature to obtain a wealth of information about the signer.

Signature properties
Some PDFs may be setup to allow for several signatures. On the credit application, for example, you might digitally sign the loan application and then the bank signs that version. In this case you have two signatures applied to the PDF. In the signature panel of the PDF (in Adobe Reader 9, this can found by clicking the signature panel button in the upper right corner of the window) you can select any signed version and view a copy of what was signed. Using our example, the bank may have added some information of its own before signing. By reviewing each signed version you can see what changed and what the state of the document looked like when each signature was applied. The first image below shows the link to view the signed copy; the second shows how the viewer window changes to let you know you are now viewing a signed copy that cannot be altered.

Signature panel

Viewing signed version
Don’t touch that PDF!
So what happens if the PDF is tampered with? That depends. In some cases, the PDF may no longer open or have other forms of corruption preventing it from opening in Reader. In less severe cases, the PDF will open but the signature will no longer be valid. Here is a PDF with a single byte altered near the top of the document. The change has no effect on any visible data in the PDF yet because the entire document must be an exact match to the signed version the signature is no longer valid.

Altered PDF with Invalid Signature
Obtaining a Signature
A digital signature itself is a file (or files) that you can create using open source libraries or purchase from various security vendors on the Internet. The added benefit of purchasing a signing key is it allows you to be certain of the identiy of the author and to provide a server time stamp.
When you sign a PDF using a purchased key from a company such as VeriSign, for example, you have the added benefit of stamping the time from their server into your PDF as added proof of when you signed the document. This may be of benefit for certain legal documents where it is important to know that a document was signed as of a certain date/time. Signatures have an expiration date that can be set when creating your own or are set by the vendor when purchased. Regardless, the signature remains valid for the purpose of document verification even if the sigature files have expired.
FyTek provides the ability to digitally sign PDFs using free open source libraries available for Windows and Unix. The product documentation will cover in detail how to create your signing keys. Check the documentation for other PDF software you may want to use to see what options are provided. Digitally sign your important documents so there is no doubt to their validilty.
