473,326 Members | 2,111 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,326 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 3667
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.