In our website admin is uploading PDF
files from WYSIWYG editor and in user account we have a tab which shows that uploaded files.
The logged in customer can only read that PDF
file but can not download
or print
it. The file is meant only for reading purpose. Also user should not be able to view the file location from address bar or file upload path.
I have tried implemented PDF.JS which is a a general-purpose, web standards-based platform for parsing and rendering PDFs, but it converts my PDF file to image
.
User can view that PDF in image format but general feature like searching text
is not working though.
Any other php pdf viewer that does the job is welcome.
Thanks.