Document Properties - Security

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Document Properties - Security

Post by anovy »

Hi,
Attached is a sample PDF file which has strange behaviour in Document Properties dialog - Security section. The encryption method is 40-bit RC4, no user password. All document permissions are 'Not Allowed'. Then press the 'Change Settings' button, enter the owner password ('aaa') and OK, so the 'Password Security - Settings' dialog will open. Then immediatelly cancel this dialog (so no change should be made), and you will see that some document permissions will change (although there is no change).
You do not have the required permissions to view the files attached to this post.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7370
Joined: Wed Mar 25, 2009 10:37 pm

Re: Document Properties - Security

Post by Paul - PDF-XChange »

Hi anovy,

that is designed behaviour. The document properties you are seeing are the current properties and available actions based on the authorized user that supplied the correct password. If you were then to make a change to the document then save it, close the Viewer and open your file again you will see that the permissins are all still "Not Allowed".

What looking at this fas done for us is bring to our attention the fact that "Document Assembly" is, at least in my test still "Not Allowed" and it should be. We are looking into this.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Document Properties - Security

Post by anovy »

OK, but it is somewhat confusing. So if I good understand, the 'Document Security' is what is stored in the document, whereas the 'Document Permission' is what is really allowed to the user (if he entered the owner password)?

I'm asking because I still see some mismatch:
After entering the owner password (as described i my previous message), the 'Document Permission' changes. Then if I press the 'Show Details...' button under 'Document Security', then I should see either unchaged permissions (if my above assumption is true), or there should be the same permissions as under 'Document Permission' section. But I see Printing changed (to High resolution), all others are unchanged (Not allowed). So in either case something is inconsistent here.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: Document Properties - Security

Post by Ivan - Tracker Software »

On Security page of Document Properties dialog you see actual permissions you have for the document.
When you open document if user password is empty, you are not asked about the password and document is opened in user mode, where restrictions specified in the document are applied.

But when you try to change permission, you enter owner document, and document is switched to owner mode. Owner has no restriction was is shown on Security page.
(I agree about the bug where Document Assembly still shown as Not Allowed, will fix it).

If you want to see permission for user mode, press "Show Details..." on security page or see details in changing permissions dialog.
If you want to switch back to user mode, you need to close and open document again.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Document Properties - Security

Post by anovy »

It is for what I asked. So along your explanation the 'Show Details...' dialog shows the permission for user mode. If so, you have an error also in this dialog, because it shows 'Hires Printing allowed', all others disallowed (after switching to owner mode). It is the inconsistency about which I wrote in my previous message.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7370
Joined: Wed Mar 25, 2009 10:37 pm

Re: Document Properties - Security

Post by Paul - PDF-XChange »

hi anovy

I'm sure Ivan will look into this while he investigates the "Document Assembly" issue I mentiond.

:-)
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Document Properties - Security

Post by anovy »

Hi,
Another bug in the 'Show Details...' dialog:
40-bit security, printing allowed, the 'Document Permission' shows Hires printing (correct), the 'Show Details...' dialog shows Lowres printing (incorrect). See attached sample.
You do not have the required permissions to view the files attached to this post.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7370
Joined: Wed Mar 25, 2009 10:37 pm

Re: Document Properties - Security

Post by Paul - PDF-XChange »

HI Anovy,

we will be sure to check that to in the investigation.

thanks

RT#625: Document Properties - Security
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7370
Joined: Wed Mar 25, 2009 10:37 pm

Re: Document Properties - Security

Post by Paul - PDF-XChange »

Hi anovy,

This was fixed in 2.5. Can you please confirm it works as expected?

regards
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Document Properties - Security

Post by anovy »

All seems OK, except one detail, see attached sample. If opened, then both 'Document Permission' section and 'Show Details...' dialog are correct. When you enter the owner mode (psw is again 'aaa'), then 'Show Details...' dialog incorrectly says Hires printing allowed.
You do not have the required permissions to view the files attached to this post.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7370
Joined: Wed Mar 25, 2009 10:37 pm

Re: Document Properties - Security

Post by Paul - PDF-XChange »

Hi anovy,

thanks for testing that. Ivan has found the cause and the fix will be available in 2.5 stable. Currently we are aiming for this to be ready in about 10 days. As usual the caveat that we reserve the right to postpone this until we are happy that it is ready.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com