Locking file totally

Locking file totally

Forum member · Apr 4, 2008
I do not want users to be able to change anything in my merged document. The only thing they should be able to do is print it. I have implemented: document.Security = new HighSecurity(); document.Security.AllowEdit = false; document.Form.IsReadOnly = true; but I can still open the document through my application and change text on the forms and print an altered document. How can this be locked completely? Regards!

Re: Locking file totally

Support · Apr 4, 2008
Hello, Try adding the following line of code and that will make the PDF document read only. document.Security.AllowUpdateAnnotsAndFields = false; Thanks, ceTe Software Support Team