I am using Itext in Java to create a PDF files. My requirement is as below:
A PDF file located at a particular location is password protected. I need to access the file and return the response from my webservice as a PDF in browser. We require that the user should not be able to use Save or Save As.. options from the Browser. I have tried the PDFWriter options like PDFWriter.ALLOW_COPY, but this does not diable the save as option.
Could anyone please guide me on how can we achieve the requirement.
Thanks, Mark