annotation security setting

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

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

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

annotation security setting

Post by fabrizio » Fri Jul 09, 2010 3:18 pm

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: 1928
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team » Fri Jul 09, 2010 3:47 pm

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 » Sat Jul 10, 2010 10:58 am

@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 » Wed Jul 14, 2010 7:56 am

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: 1928
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team » Wed Jul 14, 2010 12:02 pm

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 » Wed Jul 14, 2010 7:09 pm

thanks :wink:

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

Re: annotation security setting

Post by Paul - Tracker Supp » Wed Jul 14, 2010 10:02 pm

our pleasure :)
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

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 » Mon Sep 12, 2011 3:04 pm

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: 1928
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team » Mon Sep 12, 2011 3:52 pm

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 » Mon Sep 12, 2011 4:44 pm

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: 1928
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: annotation security setting

Post by Vasyl-Tracker Dev Team » Mon Sep 12, 2011 5:34 pm

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 » Tue Sep 13, 2011 11:43 am

Thanks :)

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

Re: annotation security setting

Post by Tracker Supp-Stefan » Tue Sep 13, 2011 12:58 pm

:)

Post Reply