Quitter
  • Communauté internationale
    • Langue:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

protect PDF files

Explorateur ,
May 24, 2020 May 24, 2020

I wanted to protect PDF files from unauthorized viewing and printing, modifying and copying, saving and sharing, printing to file.

 

Is this possible via scripting

SUJETS
Impression et pré-presse
714
Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Community Expert ,
May 24, 2020 May 24, 2020

Yes, but it's much easier to do it manually, via File - Properties - Security.

If you really want to use a script you'll need to study the reference of the encryptUsingPolicy method of the Document object.

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
LÉGENDE ,
May 24, 2020 May 24, 2020
LA PLUS RÉCENTE

"unauthorized viewing and printing, modifying and copying, printing to file."

 

"Possible" using password or certificate encryption in Acrobat, but apart from the document open password, everything else is just a suggestion to the viewing application. Adobe says it will respect the suggestion, other vendors do not. So if your PDF is opened in something else, it'll be fully printable/editable/copyable.

 

"unauthorized saving and sharing"

 

Completely impossible. PDFs do not stream, they cannot be opened by anyone until after they have been saved. Nothing inside the file can prevent people from saving copies and sharing them, all you can hope is that they don't also tell people the password. You can only control who has access to the contents of a PDF if you secure it with digital rights management (a massively expensive LiveCycle Enterprise service).

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines