473,387 Members | 1,318 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to create a Read-Only PDF in .NET?

Greetings microsoft.public.dotnet.general,

Here is my problem: my boss wants to create a PDF file for our clients
that they can open (without entering a password) that cannot be viewed
or modified programmatically. This file may be passed on to our
clients' clients, and while we want everyone to be able to reuse (or
"re-view") the contents, we want to make it as difficult as possible
to programatically reuse the contents (as there are IP issues
involved).

I have looked at encrypting the PDF, but this appears to require a
password everytime the file is used. This, unfortunately, does not
work for our situation. I know that PDFs have two levels of
encryption: one for general viewing and one for modification. Putting
a password on modification and not general viewing does not solve our
problem either.

Any ideas as to how this could be achieved (or not)?

Thanks,

-=John
Jul 21 '05 #1
1 3670
Well, if the PDF viewer can read the file, then a program can read the file,
because the Adobe PDF viewer is a program.

The alternative is to create an application that you distribute to your
clients. You can then encrypt the PDF file, and only your viewer app can
decrypt it. Once it is decrypted, you may be able to feed it to a PDF
viewer from memory, which would prevent someone from copying it from the
hard drive. Look for PDF controls that you can embed into a rich client
that will accept the document from memory.

This is essentially how some other digital rights management stuff works.

TTBOMK, Microsoft's SDKs for Digital Rights Management don't have anything
in them for documents, just music and video. There may be a competitor
package that will handle documents, though. I haven't looked.

--- Nick

"John" <jj***********@mail.com> wrote in message
news:f1**************************@posting.google.c om...
Greetings microsoft.public.dotnet.general,

Here is my problem: my boss wants to create a PDF file for our clients
that they can open (without entering a password) that cannot be viewed
or modified programmatically. This file may be passed on to our
clients' clients, and while we want everyone to be able to reuse (or
"re-view") the contents, we want to make it as difficult as possible
to programatically reuse the contents (as there are IP issues
involved).

I have looked at encrypting the PDF, but this appears to require a
password everytime the file is used. This, unfortunately, does not
work for our situation. I know that PDFs have two levels of
encryption: one for general viewing and one for modification. Putting
a password on modification and not general viewing does not solve our
problem either.

Any ideas as to how this could be achieved (or not)?

Thanks,

-=John

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Frank Millman | last post by:
Hi all I need to generate potentially large reports from a database, and I want to offer the option of print preview before actually printing (using wxPython). I figure that the best way to...
1
by: vwhk | last post by:
Dear All, I new in Oracle. I would like to have your advice that how can I create a new oracle database in AIX. I've tried using "svrmgrl" on terminal but couldn't connect as "connect...
1
by: ezmeralda | last post by:
Hello, I have to solve the following task: - create an editor-application in c# to read, modify and create xml-files - .xsd-schema-file is available and can be used Currently, I am thinking...
2
by: Vicky via DotNetMonster.com | last post by:
Hi, Could anyone help me with some info how to create app.config file. I need to put code of directory info in there, Thank you very much! DirectoryInfo di = new DirectoryInfo("C:\\Vicky...
9
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
10
by: Robert Dailey | last post by:
Hi, I'm trying to create a Python equivalent of the C++ "ifstream" class, with slight behavior changes. Basically, I want to have a "filestream" object that will allow you to overload the...
5
by: NJonge01 | last post by:
Hi, I haven't even tried to code this yet, but I need to create a "search" string that would work like this: Read this: strText = Create this string StrCriteria = Like "*Word1*" and Like...
3
by: 100grand | last post by:
Modify the Inventory Program to use a GUI. The GUI should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price...
11
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page,...
2
by: jarea | last post by:
I have read quite a bit about this error but I have yet to find the solution to my problem. I am trying to execute the following mysql statement: alter table line_items add...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.