Bug 113857

Summary: Export to pdf from Writer: did not protect pdf from copy / print
Product: LibreOffice Reporter: Roque <roque.blog>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bal, quikee, raal, thb, vmiklos, vsfoote
Priority: medium Keywords: filter:pdf
Version: 4.2.0.4 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103378, 108914    

Description Roque 2017-11-15 13:49:12 UTC
Hi,
My configuration :
Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz, 4 cœurs

Ubuntu Linux 16.04.2 / Kernel Linux 4.4.0-98-generic sur x86_64

Libre Office Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial2
Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group

1. Using my Ubuntu PC, when I want to export a LibreOffice document from Writer (I suppose it is the same from Calc) to pdf (File /Export pdf / Security / no modification allowed and no copy allowed), despite security paramters supposed to avoid copy/past, I am able to copy and paste the text from the pdf.

2. Using a Windows10 PC, doing the same export with the same parameters (and the same document), copy and past is not allowed in the generated pdf. It works !

Conclusion: it seems the security parameters for pdf export in LibreOffice are not active in the Linux "version" 

Best regards
Comment 1 raal 2017-11-15 16:14:50 UTC
I can confirm with Version: 4.1.0.0.alpha1+ and Version: 6.0.0.0.alpha1+
Build ID: c79467ba954987f1d239c594c1e1b3af3f5515f6
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
Locale: en-GB (cs_CZ.UTF-8); Calc: group
Comment 2 photoshoppro 2018-10-23 01:17:54 UTC
This does not work in macOS 10.14.0 + LO 6.0.6.2 either. 

1. Create document
2. File > Export As > PDF
3. Security, set passwords
4. Choose no changes, no allowance of copying.
5. Export
6. Open PDF and highlight any text, command-C.
7. Open another document, command-V. The text from step 6 pastes.

Copy protection does not work at all. This is an old bug; it needs to be fixed.
Comment 3 V Stuart Foote 2020-12-11 17:31:26 UTC
*** Bug 138784 has been marked as a duplicate of this bug. ***
Comment 4 V Stuart Foote 2020-12-11 17:52:16 UTC
Miklos, Tomaž, *

Since we now "support" PDF 1.7 export of PDF/UA shouldn't we be able to at least set the Adobe security handler "use options" for our PDF exports?  

They of course offer little practical protection, but...
Comment 5 V Stuart Foote 2021-04-26 13:05:30 UTC

*** This bug has been marked as a duplicate of bug 95424 ***