Secure PDF Viewer Sample

The Aloaha Secure PDF Viewer is a project to demonstrate the broad functionaly of the Aloaha PDF Form Saver OCX.

PDF suffers of one big limitation. It is not easy to control if a user can save a PDF document locally. First of all most PDF Viewer have a save option as such and secondly most of them cache the PDF in the Window temp folder. Even the traffic between the server and the PDF Viewer could easily sniffed and used to rebuild the secret PDF document.


The Aloaha PDF Viewer is based on the Aloaha PDF Saver OCX. This OCX is included in our Aloaha PDF Saver and Aloaha PDF Signator. To be able use the Aloaha Secure PDF Viewer either the PDF Saver or the PDF Signator has to be installed.

Since viewing of PDF Documents is a freeware feature of the Aloaha PDF OCX no license key is required to use the Aloaha Secure PDF Viewer.


The SecurePDFViewer can be downloaded from the link below. The source code it included. 

This package of code and executable is also included in the <Program Files>\Wrocklage\samples subdirectory if you install the Aloaha PDF Saver or Aloaha PDF Signator.


 Secure Wrapper Viewer.zip 2.5.14 (7,09 KB)

 Secure PDF Viewer 2.1.328.zip (7,05 KB)


Usage of Secure PDF Viewer

The usuage of the Aloaha Secure PDF Viewer is pretty straight forward. Just use as an commandline option the file to be opened.

For example:

c:\> "Secure PDF Viewer.exe" http://www.aloaha.com/download/test.pdf

or

c:\> "Secure PDF Viewer.exe" MyPDFDocument.pdf

It is also possible to load a PDF directly from a memory location. This is usefull if a PDF should be retrieved/transported encrypted. A decryptor could store the decrypted document somewhere in Memory and instruct Aloaha to load the document from there. 

How this is being done is demontrated in the sourcecode.

If you have further questions please do not hesitate to contact us.




Please ask...

Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question?
Please check!
  • I am trying to launch your secure pdf viewer from a PHP page using exec and it just hangs. I see the exe running as well as the aloahapopup.exe running, but it never displays. Can it be run this way? Thanks.
    Hi,

    our software includes an OCX to embed on your website. The EXE is an automation compatible COM Server and supports remote controlling. So you could launch it via COM Interface.
    Answered 02.10.2012
If not, please do not hesitate to send us your question.
We would be glad to answer it.
PDF SDKPDF Signature APICertificate PropertiesSample CodeText StampsPDF AttachmentsImage 2 PDFPDF to Multipage TIFFAppend PDFInsert Blank PageRender ImageStamp PDF with PDFDraw PDF as LetterheadApply LetterheadPDF BackgroundsAdd NotesURL HotspotSecure PDF ViewerPDF OptimizerPDF Encryption APIPDF Printing APIPDF BookmarksPDF BarcodingMerge PDF DocumentsSample APIsResize PDFCrop PDF PagePDF InformationPDF2TXTNormalize PagesDirect PDF ConversionPDF Form Saver SDKSmart Card APIAloaha Web ServicesAloaha Print MonitorAloaha Remote ConfigurationWebDAVLDAP ClientProgramming Office MacrosIIS Event Sinks