From my readings of past and somewhat similar threads, it sounds like there is no LaTeX code for creating a PDF that is both "flattened" and "secured". Therefore, I need to compile the PDF then use other software, such as Adobe Acrobat Pro, to secure them.

Is that correct?

My goal is to create salable PDFs which contain roadblocks to copying, editing, stealing, etc. portions of that PDF.

  • pdftk (pdflabs.com/tools/pdftk-the-pdf-toolkit) can both flatten and secure. – Thérèse Oct 12 '18 at 18:48
  • qpdf (qpdf.sf.net) can also do this. I have almost finished writing an arara rule to do just that with it. you can have a look and test it by downloading it at (gist.github.com/ArTourter/a0f464b9018bd74fe1a5fce2800784ef). it still needs a bit a polishing and a documentation, but it is fully functional. – ArTourter Oct 12 '18 at 19:06
  • @Thérèse -- pdftk looks pretty good, thank you! My only concern is that it says it's compatible with Windows XP, Vista barf, 7, and 8. It does not mention 10. Is this software updated often enough in terms of safety and compatibility? – WeCanLearnAnything Oct 12 '18 at 19:06
  • @ ArTourter -- What is an "arara" rule? And what would I do with this code? Would I just paste it into a .tex file and... – WeCanLearnAnything Oct 12 '18 at 19:11
  • there were talks (or at least requests) on the texlive mailing list a few years back to have qpdf part of texlive but it doesn't seem to have materialised. I used to used pdftk a lot for this but it is basically abandonware now unfortunately. qpdf seems very much alive. – ArTourter Oct 12 '18 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.