🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.sdk
Article #80

Comparing Versions of Certified PDFs

#80
From: Jim_Lomax
Date: Tue, 17 Mar 2009 22:06
5 lines
1586 bytes
We have an application that stores PDF documents in Oracle in a BLOB column. The documents get a certifying signature before they are first added to the database. They then get pulled out and displayed to the user in an embedded Acrobat 7 or 9 Control in a C# application. In there the user signs a Signature field and the database is Updated with the new version. There can be several users who each sign the document in turn in preconfigured Signature Fields. There is a securtiy issue since the link between the front end application and the database is a WebService, so the public Update method on the web service could be used to change a PDF to something completely different thus invalidating the supposedly secure storage.
So my question is, is there any way to compare pdfs in code (Javascript or ActiveX) and can it be done to ignore modified Signature fields?
If we could do that we could confirm that the document is "the same" as the original before doing the update.

Thanks for any advice.
Technical Details
Message-ID: <59b84fae.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,85953081cad62bf2,start
X-Google-Attributes: gid10177e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jim_Lomax@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.acrobat.sdk
Subject: Comparing Versions of Certified PDFs
Message-ID: <59b84fae.-1@webcrossing.la2eafNXanI>
Date: Tue, 17 Mar 2009 15:06:38 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit