Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Locking created pdf |
Post Reply |
Author | |
perry
Beginner Joined: 03 Nov 06 Location: United Kingdom Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 18 Jun 07 at 2:16PM |
Does anyone know of any way to 'lock' the created pdf so that it cannot be updated by quickpdf, acrobat or any other software. I have a feeling that there is something in Acrobat SDK but can't find anything in iSed QiickPdf
|
|
bogey
Senior Member Joined: 30 Nov 05 Location: United States Status: Offline Points: 50 |
Post Options
Thanks(0)
|
This is how I do it in VBScript:
function secureForm(thisDoc)
call QP.SelectDocument(thisDoc) fncDebug("<br><b><i>Securing Form</i></b>") '=========================================== 'Set Document Information '=========================================== 'QP.SetInformation(0) = "" 'PDF Version call QP.SetInformation(1,"Union Central") 'Author call QP.SetInformation(2,"") 'Title call QP.SetInformation(3,"") 'Subject call QP.SetInformation(4,"") 'KeyWords call QP.SetInformation(5,"Union Central") 'Creator call QP.SetInformation(6,Request.ServerVariables("SERVER_NAME")) 'Producer '=========================================== 'encrypt 40 bit for compatibility with acrobat 3 and 4 |
|
perry
Beginner Joined: 03 Nov 06 Location: United Kingdom Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Hi Bogey
thanks for this excellent example.
Having disabled 'change,copy' etc, does this enable me to distribute the document so that they can view it without knowing any password but prevent them from editing it with any PDF software?
thanks.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Perry!
Yes. Using only the main password protects your settings but the reader doesn't need a password to read the document. If the user shall insert a password before reading you have to set the user password, too. Keep in mind that there are tools out there for removing the main password from pdf-documents... It's not really safe. A user password is much safer ... but uncomfortable for the readers. Best regards, Ingo |
|
marian_pascalau
Debenu Quick PDF Library Expert Joined: 28 Mar 06 Location: Germany Status: Offline Points: 278 |
Post Options
Thanks(0)
|
Perry, a short info. Please keep in mind that only few applications will protect data inside PDF files. If user is able to open your document he is able to modify whatever he wants. There is no real way to protect your document for changes. The only possibility is to protect it with password and a digital certificate. Any user will be able to alter your document but will break for sure the signature of your original file. Best regards, Marian Edited by marian_pascalau - 28 Jun 07 at 5:03AM |
|
bogey
Senior Member Joined: 30 Nov 05 Location: United States Status: Offline Points: 50 |
Post Options
Thanks(0)
|
Locking a PDF with a password does nothing more than keep the honest people honest. It is far too easy to crack for someone that is determined.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store