Q: I have two technical questions related to PDFNET SDK
1. We successfully use PDFNET SDK to create employee’s PDF files and
are going to them online for employees to view and print via IE
browser. PDFNET SDK works great for creating those PDF forms and put
them into database. But now we run into a problem. That is, whenever
a PDF is displayed in web browser such as IE the pdf is downloaded to
a temp folder on user’s computer without the user’s knowledge.
Therefore it posts a great risk of exposing sensitive data to others.
We tried to prevent the PDF from being downloaded but then the pdf
could not be displayed at all in the browser without being downloaded.
Could you please show me how to display pdf in IE browser without file
being saved to disk?
2. We put a password on each PDF to protect it. We want to customize
the pop up dialog when opening the password protected pdf. Could you
please tell me how to accomplish this task?
A: How are you viewing PDF in the IE browser? Unfortunately if you are
using Adobe Reader (or other ActiveX controls), there is no simple
solution because we can't change third party software. In case you
would like use safe delivery and viewing of documents, you could use
SilverDox (http://www.pdftron.com/silverdox) . SilverDox does not save
any files on the end user system and does not require any installation
beyond Silverlight. An added benefit is that you can customize the
reader as needed, use custom encryption, and restrict options based on
PDFNet can be used to stream its documents (or any PDF, XPS, MS Office
file) to Silverlight using 'pdftron.PDF.ToSilverlight()' method - as
shown in SilverDoxConvert and SilverDoxStreaming samples. Please note
that if you are dealing with static collections of documents you could
batch convert the files to Silverlight XPS (e.g. using SilverDoc
Publisher CLI - http://www.pdftron.com/silverdox/downloads.html)
before uploading the files to your site. This means that you can avoid
the need for a dynamic site - no need for programming.
As a starting point to get familiar with SilverDox, please see
Online Samples: http://www.pdftron.com/silverdox/samplecode.html
We put a password in each W2 to protect it. We want to customize the
pop up dialog when opening the password protected W2 pdf. Could you please tell me
how to accomplish this task?
If you are using Adobe Reader (or other PDF viewers), there is no way
to customize the pop-up dialog. With SilverDox you have full control
over every aspect of the UI.