Click here to Skip to main content
12,885,226 members (37,247 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ MVC

We are currently storing PDF File in a Content Management System (WEB) we have upoaded PDF Files for viewing purposes only but when they open it they can download it and can save the same. My question is is there a way where i can protect pdf file from downloading and saving.

Thank you.
Posted 7-Nov-12 21:41pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If a file is loaded for viewing, it is stored in the cache on the client computer from where it can be recovered. While it is on the screen, the content may be also captured as image.

You can protect the PDF document with a password and disallow copying, editing, and printing.

This question is not a new one. Using Google with 'prevent saving pdf' gives you millions of results. A good one is this:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100