Need help to deny modification and copying of contents in PDF

How do I deny modification and copying of contents at the same time?

Encrypt PDF file
-encrypt <-openpwd=XXX -ownerpwd=XXX -keylen=X -encryption=XXX>
Set user password, owner password and permissions to the stamped PDF file.
Options for "-encrypt" function:
-openpwd <string> : Set 'open password' to PDF file
-ownerpwd <string> : Set 'owner password' to PDF file
-keylen <int> : Key length (40 or 128 bit)
-keylen 0: 40 bit RC4 encryption (Acrobat 3 or higher)
-keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
-keylen 2: 128 bit RC4 encryption (Acrobat 6 or higher)
-encryption <int> : Restrictions
-encryption 0: Encrypt the file only
-encryption 3900: Deny anything
-encryption 4: Deny printing
-encryption 8: Deny modification of contents
-encryption 16: Deny copying of contents
-encryption 32: No commenting
===128 bit encryption only -> ignored if 40 bit encryption is used
-encryption 256: Deny FillInFormFields
-encryption 512: Deny ExtractObj
-encryption 1024: Deny Assemble
-encryption 2048: Disable high res. printing
-encryption 4096: Do not encrypt metadata
=======================================
You can use “-encryption 24” to deny modification and copying of contents at the same time.

VeryPDF
=======================================
Thanks.  So what if I want to deny everything but printing?
=======================================
“deny everything but printing” is equal to 3900-4-2048=1848, so you can use “-encryption 1848” to try.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF Security and tagged , . Bookmark the permalink.

3 Responses to Need help to deny modification and copying of contents in PDF

  1. Sibasis says:

    how to password protech to pdf file ?

    VA:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  2. Sibasis says:

    How to protect a pdf file through vb6.0

    VA:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!