LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2010, 06:43 AM   #1
Cenobite
LQ Newbie
 
Registered: Dec 2003
Location: South Africa
Distribution: CentOS, Arch
Posts: 25

Rep: Reputation: 0
Question Add copy protection to PDF?


I'm setting up a fileserver for a client which will host their client invoices. They're looking for a system whereby invoices can be converted from RTF to PDF with copy protection (no right click / copy-paste). In addition to this I'm thinking of using a one-way hash to verify document integrity.

Are there any command-line utilities for Linux which allows adding this kind of copy protection / DRM to pdf documents?

Thanks!
 
Old 10-27-2010, 06:51 AM   #2
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
Quote:
Originally Posted by Cenobite View Post
(...) PDF with copy protection (no right click / copy-paste).
It's a Adobe-PDF specific feature (and not part of PDF format specification), as far as I know
 
Old 10-27-2010, 06:59 AM   #3
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
pdftk can do this.

For example:

pdftk plain.pdf output drm.pdf owner_pw someSecret encrypt_128bit allow printing

This can be printed, but no copying from the document if you don't know the password.

See man pdftk for more details.
 
2 members found this post helpful.
Old 10-27-2010, 07:36 AM   #4
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Quote:
It's a Adobe-PDF specific feature (and not part of PDF format specification), as far as I know
It is part of the PDF specification. But of course it's not very hard to modify an open source reader. Some time ago I read about somebody changing xpdf so you could for example copy content without the password. Such a program is legal, but you cannot call it a PDF reader since it doesn't follow the specification.
 
1 members found this post helpful.
Old 10-27-2010, 08:32 AM   #5
Cenobite
LQ Newbie
 
Registered: Dec 2003
Location: South Africa
Distribution: CentOS, Arch
Posts: 25

Original Poster
Rep: Reputation: 0
pdftk looks like just the ticket!

Thanks, Guttorm!

Quote:
Originally Posted by Guttorm View Post
pdftk can do this.

For example:

pdftk plain.pdf output drm.pdf owner_pw someSecret encrypt_128bit allow printing

This can be printed, but no copying from the document if you don't know the password.

See man pdftk for more details.
 
Old 10-27-2010, 08:35 AM   #6
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
thanks for the info :P
 
  


Reply

Tags
pdf



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rootkit copy protection newbiesforever Linux - General 1 01-09-2010 11:58 AM
password protection for pdf files majalee Linux - Software 1 10-11-2006 11:59 PM
Copy Protection sadafwaqas Linux - Newbie 1 05-16-2006 12:40 PM
cd copy protection linmix Linux - Software 10 02-17-2005 07:43 AM
can you copy cd protection with dd? Noerr Linux - Software 3 05-30-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration