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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-27-2010, 06:43 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2003
Location: South Africa
Distribution: CentOS, Arch
Posts: 25
Rep:
|
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!
|
|
|
|
10-27-2010, 06:51 AM
|
#2
|
|
Member
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Fedora 17 amd64 / Fedora 17 i686 LXDE (w e17)
Posts: 229
Rep:
|
Quote:
Originally Posted by Cenobite
(...) 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
|
|
|
|
10-27-2010, 06:59 AM
|
#3
|
|
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,007
Rep: 
|
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.
|
10-27-2010, 07:36 AM
|
#4
|
|
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,007
Rep: 
|
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.
|
10-27-2010, 08:32 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2003
Location: South Africa
Distribution: CentOS, Arch
Posts: 25
Original Poster
Rep:
|
pdftk looks like just the ticket!
Thanks, Guttorm!
Quote:
Originally Posted by Guttorm
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.
|
|
|
|
|
10-27-2010, 08:35 AM
|
#6
|
|
Member
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Fedora 17 amd64 / Fedora 17 i686 LXDE (w e17)
Posts: 229
Rep:
|
thanks for the info :P
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|