annotation security setting

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

annotation security setting

Post by fabrizio »

Hi, I would like to change some security settings on a PDF document through code using PDF-XChange ActiveX component, but I can't find any suitable method for doing that in the ActiveX manual. I only found the IsOperationGranted by which I can get information on permissions on the pdf. Is there a way of doing such a thing? In particular I would like to change Summarize (annotations) property on that document in order to highlight or comment it. I can already do it calling Property Window -> Security and then managing security options. But is there a way to unlock annotations security setting by code?
Thank you in advance.
Regards
Fabrizio
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team »

Hi, Fabrizio.

I'm afraid, it is impossible in current realization.
But we planning to implement functionality for document security changing in the near future, wait some weeks...

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
michipapa
User
Posts: 41
Joined: Tue Dec 08, 2009 10:44 pm

Re: annotation security setting

Post by michipapa »

@Tracker

Can you please add a function to save annotations in dependence of the author ?

We need such a feature to implement a inspection of technical drawings in our software.
Every user must see all annotations , but only save his own.

thx
fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

Re: annotation security setting

Post by fabrizio »

I'm afraid, it is impossible in current realization.
But we planning to implement functionality for document security changing in the near future, wait some weeks...
Hi Vasyl, thank you for the answer. Do you think there will be a new release of the SDK with these new features before september?
Thanks
Fabrizio
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team »

Hi, Fabrizio.
Do you think there will be a new release of the SDK with these new features before september?
Answer is - yes.

Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

Re: annotation security setting

Post by fabrizio »

thanks :wink:
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6837
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: annotation security setting

Post by Paul - Tracker Supp »

our pleasure :)
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: annotation security setting

Post by jphilipp »

I need a function to modify document security settings too. Is it already realized? I havn't found it in API documentation.

Best Regards,
Jörg.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team »

Hi, Jörg and Fabrizio.

Currently you may use one possibility only:

Code: Select all

ctrl.DoDocumentVerb(docId, "", "RemoveSecurity", NULL, NULL, 0); 
- it removes all document's security restrictions, but document should be opened with owner password, for details look to SDK-help,

Otherwise you must use our PDF-Tools SDK at this time to be able to modify/set Security options on existing PDF files.

HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: annotation security setting

Post by jphilipp »

Hi Vasyl,

I want to extract some pages from a large PDF, displayed with ActiveX Viewer, and save them to a file. This new file should have restricted access to the document content, but no open password. The large source PDF has an open password, but no other restrictions.

Can I combine ActiveX Viewer and PDF-Tools to achieve this?

Is there another way to realize this?

Is a function to modify document security settings planned for ActiveX Viewer?

Best regards,
Jörg.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team »

Hi, Jörg
I want to extract some pages from a large PDF, displayed with ActiveX Viewer, and save them to a file. This new file should have restricted access to the document content, but no open password. The large source PDF has an open password, but no other restrictions.
Can I combine ActiveX Viewer and PDF-Tools to achieve this?
You may use our ActiveX to extract pages to an external file and use the PXC_EnableSecurity(), PXC_SetPermissions() to setup security permissions for result-document from the PDF-Tools SDK ...
Is a function to modify document security settings planned for ActiveX Viewer?
Yes, with the V3 SDK you will be able to change/remove a document's security.

Please wait for the new version V3 for this feature...

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: annotation security setting

Post by jphilipp »

Thanks :)
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: annotation security setting

Post by Tracker Supp-Stefan »

:)
Post Reply