Let us learn to secure our documents from unauthorized access. Previously we discussed adding text and image watermarks to the documents to avoid and illegal use. In this article, we will see how to add password protection to PDF documents to get them locked using C#. Additionally, we will change the existing password and also learn to remove the password to make the PDF unlocked.