On Sun, 31 Oct 2021, Hans Hagen via ntg-context wrote:

> in that case you probably need to hide more .. (when you process with 
> \nopdfcompression at the top you can look in the pdf, i.e. compression 
> is not encryption
> 
> one thing you can do is make a copy of lpdf-xmp.lmt and wipe all tricky 
> values and then use that to make a format
> 
> but if security is important, maybe better is to use "qpdf" to encrypt 
> the file (you can then also prevent editing for instance)

qpdf is also good at stripping metadata:

    qpdf --empty --pages input.pdf -- output.pdf


Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to