I am working with Websupergoo's AbcPdf generator to generate the pdf from my code in c sharp. I want it to be readonly and non-editable to the end user. I have tried its encryption properties :-
pdfDoc.Encryption.CanChange
pdfDoc.Encryption.CanEdit
pdfDoc.Encryption.CanAssemble
pdfDoc.Encryption.CanExtract
pdfDoc.Encryption.CanFillForms
Where pdfDoc is my pdf object.
These solved multiple purposes like avoiding the editing, deleting, adding new pages, signing, highlighting, add sticky notes, export to other formats etc. The above properties worked but one problem arised which made all these changes null and void.
There is a tool in Acrobat 11 pro 'Protection' under which user can remove all the securities of imposed to the pdf by code.
I dont know what to do, also i dont want any password protection, just make it readonly forever. Please help..!