sam liya wrote:currently its download and then encrypt.so there is a copy which is not encrypted.
but my question is when i used iText how to write data to pdf using BufferedOutputStream.
But its better if we can write using BufferedOutputStream than document.add method.
sam liya wrote: Actually my problem is there are several urls which contain pdf. I need to write a app which download the those pdfs and encrypt them.I used iText for encryption.So currently i download the pdf first and then encrypt it using iText.So i already have original one without encrypting.So it must be to delete.this is the my current approach.can you tell me how to improve this approach?
sam liya wrote:no.i need to make a app which downloaded files are unable to copy to other devices.So if we encrypted using device id non of the other devices able to open those pdf.
sam liya wrote:These are paid ones.
sam liya wrote:Imagin if i get the one copy of pdf,then i can send it to so many of them.If we use encryption other unable to view them.