Skip to main content

Microsoft Silverlight

Answered Question Protect pdf document from downloadRSS Feed

(0)

Vinayak_Ait
Vinayak_Ait

Member

Member

5 points

16 Posts

Protect pdf document from download

Hi,

I uploaded pdf file to server so that my site's visitor only able to view pdf but should not be able to download, save, copy pdf. and not have a temp file of the pdf ever be downloaded to their machine.
How can I get above behaviour and protect pdf from download?
Thanks in advance

jay nanavati
jay nana...

Contributor

Contributor

3388 points

624 Posts

Answered Question

Re: Protect pdf document from download

 Do you want to implement this using Silverlight?

 then check this:

http://www.amyuni.com/silverlight/index.php

 if you want to do it with Flash:

http://board.flashkit.com/board/showthread.php?t=745702

Jay K Nanavaty
www.technologyopinion.com
Mark as answer if it helps. It will also help others...

metal
metal

Participant

Participant

1243 points

262 Posts

Re: Protect pdf document from download

 If the user can view a PDF then they have already downloaded it, In the same way if you view an image on a web page it is downloaded to the users machine before being displayed.

The only way around this is to not use raw data, the common solution for images is to use flash/silverlight to display an image that is a propriatory format, thus if a user is able to intercept the flash/silverlight downloading the iamge data they can not load it into photoshop as photoshop will not recognise the format.

So to reach your requirements,

1. Can view PDF

2. can not download PDF

3. can not copy PDF

4. no temp files

Number one, you have to supply the a client application (i.e. silverlight) that will interpret 'some' data and display it to appear as PDF

Number two,  the PDF file does not reside on the server as reachable, instead a web service will stream the data.

Number three, I assume you mean 'can not take a copy', if at any time your web server sends PDF data (file or streaming) the users machine can intercept and copy/save that data.

Number four, really the same as three and it doesn not matter if there is a temp file if it is your propriatory data format describing a PDF as without your client application (i.e. silverlight) it is useless.

I hope this makes things slightly clearer.

bottom line, never trust a client to do what you WANT it to do, because it can do what it damn well pleases. 

 

Vinayak_Ait
Vinayak_Ait

Member

Member

5 points

16 Posts

Re: Re: Protect pdf document from download

Thanks for reply,

Can someone tell me how to embed pdf file in silvrlight so that my site's visitor can view the pdf but should not be able to download pdf file.

It's urgent,

Thanks in advance

Maud
Maud

Contributor

Contributor

3276 points

453 Posts

Answered Question

Re: Re: Protect pdf document from download

Agree with Jay, convert pdf to xps on serverside and display in silverlight.

sample

http://www.amyuni.ca/PageTurnPdf/Default.html

article

http://www.amyuni.com/silverlight/article.php

Maud
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities