# Password protection

**URL:** <https://pdfjs.community/t/password-protection/124>\
**Category:** Technical Support\
**Created:** [July 9, 2020, 5:50am UTC](https://pdfjs.community/t/password-protection/124 "2020-07-09T05:50:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishalw](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@vishalw](https://pdfjs.community/u/vishalw)\
**Post date:** [July 9, 2020, 5:50am UTC](https://pdfjs.community/t/password-protection/124/1 "2020-07-09T05:50:57Z")

</div>

. Do we have a feature where we generate annotated file with password protection

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [July 13, 2020, 2:30pm UTC](https://pdfjs.community/t/password-protection/124/2 "2020-07-13T14:30:21Z")

</div>

Hi,

We do not have an API for this, but we may look into adding a REST api for encrypting a file in the future.

You can subscribe to the #announcements channel to keep an eye out for this.

Thank you,  
Logan

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [July 13, 2020, 2:30pm UTC](https://pdfjs.community/t/password-protection/124/3 "2020-07-13T14:30:23Z")

</div>

Closed on July 13, 2020, 2:30pm UTC


