I’m looking for a Python library that allows me to set password protected print, copy, paste options on existing PDF files.
What I tried
I looked at the reportlab pdfencrypt module: this has exactly the options I need, but the open source version is heavily restricted – cant even set a real password, and the license is not an option (over £1000/year) – this will be relatively low volume (< 1000 docs processed per year), and the client is a non-profit organisation
Have you tried The PDF Toolkit, command-line interface (
pdftk)?http://www.pdflabs.com/docs/pdftk-cli-examples/