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!
EncodePermissions |
Post Reply |
Author | |
luet
Team Player Joined: 09 Aug 16 Location: Germany Status: Offline Points: 41 |
Post Options
Thanks(0)
Posted: 16 Aug 16 at 4:27PM |
Hello,
when I open a protected PDF document with a password to delete a page, do I need before saving (SaveToFile) of the PDF document, the available access rights with the password reset? I noticed that by changing the document password protection is no longer there ..? Thank you for a few lines of code luet
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
If you open a main password protected document, do the decryption and save it with a new name then it will be saved directly from memory where it's loaded decrypted and unprotected.
So after saving the document doesn't have a main password anymore. This doesn't work with a user password ;-) BTW: Regarding your "Thank you for a few lines of code": There's a developer guide, many samples and kb-articles available on the official Debenu-support pages ;-) |
|
Cheers,
Ingo |
|
luet
Team Player Joined: 09 Aug 16 Location: Germany Status: Offline Points: 41 |
Post Options
Thanks(0)
|
I save the PDF files always under the same name.
I did not know that it makes a difference whether I open the user password or with the main password the PDF. If the user password, the permission remains. That's the difference right? thank you luet
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
If you wanna open a pdf which is protected with a main password there's no need to enter any password.
If you wanna open a pdf which is protected with a user password you have to insert a main OR a user password.
|
|
Cheers,
Ingo |
|
luet
Team Player Joined: 09 Aug 16 Location: Germany Status: Offline Points: 41 |
Post Options
Thanks(0)
|
ok, I have understood.
But what happens if I save the file under the same name? Stay the access permissions and passwords obtained? thank you luet |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Luet,
why not trying it? With GetAnalysisInfo or any pdf-reader you can check if the settings will be the same. Only loading and saving under a new name is like copying and all settings will be the same. |
|
Cheers,
Ingo |
|
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