Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have worked on a report in a pdf format, and I want a way to keep the PDF report in a browser so the users can only view it. And can't download a copy. I am using php. Please, I need a way around this. thank you.if the PDF is not the best format to keep my stuff ..please suggest a way to keep my reports safe from download..
Posted
Updated 13-Jul-10 3:06am
v3

1 solution

There is literally no way for users to view something in a web page, and not be able to access it in some way. However, you can push a PDF down with the PHP equivelant of a response.write, and it will open in their browser, then it's a question of if the embedded viewer has a save button ( but I feel sure that it does ).
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900