Where Man Wins over ... PDF

non-editable or "secured" PDF

Until recently I encountered non-editable or "secured" PDF files only in some account statements received by my bank, which occasionally the combination of Acrobat Reader and CUPS was not able to print.

Recently (end 2018) however I heard some junior colleagues talking about non-editable PDF being requested in support for some job applications. So I decided to go a little deep in the matter.

So I had a look about the way to produce such beasts.

Now you may wonder if one can produce a PDF/A which is non-editable.
Well, this is not possible by definition. PDF/A is intended as a long-term archive format (see wikipedia), intended not to contain dynamic parts (e.g. forms) and to be readable everywhere and forever (for this reason it has imbedded fonts). This is clearly in contradiction with encryption as stated in the PDF/A FAQ.

Note also that a "secured" file (not modifiable unless one knows the owner password, but with blank user password) can easily be unsecured (decrypted) with qpdf. Only a "protected" file (with two passwords) cannot be decrypted unless one supplies the owner password. But of course, while an user password is OK for a private exchange, one cannot distribute a public file with an user password. It will be just a nuisance. So a "secured" file is not really protected, it is just a psychologic effect.

Finally qpdf --qdf produces a PDF file with almost no binary information, which, knowing the PDF syntax, can be edited with a text editor. Here I edited by hand the original file.

So why did the Unnominable Administration request a "non-modifiable PDF" in first instance ? Possibly because it was afraid of possible falsifications.
But why did they replace the requirement with "PDF/A" later ? I suppose because people had difficulties in producing non-editable files, and they thought a PDF/A were protected ... which it isn't and cannot be.

I guess this is another case of the Asimov-Schiller effect.


Mit der Dummheit kämpfen Götter selbst vergebens Against stupidity the gods themselves contend in vain
F.Schiller, Die Jungfrau von Orleans, III, 6 I.Asimov

sax.iasf-milano.inaf.it/~lucio/WWW/WhereManWins/pdf.html :: original creation 2019 gen 29 16:10:00 CET :: last edit 2019 Jan 29 16:10:00 CET