# Set password for generating pdf

**URL:** <https://pdfjs.community/t/set-password-for-generating-pdf/1346>\
**Category:** Technical Support\
**Created:** [February 2, 2022, 9:24am UTC](https://pdfjs.community/t/set-password-for-generating-pdf/1346 "2022-02-02T09:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanoop](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sanoop](https://pdfjs.community/u/sanoop)\
**Post date:** [February 2, 2022, 9:24am UTC](https://pdfjs.community/t/set-password-for-generating-pdf/1346/1 "2022-02-02T09:24:59Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**

UI version  
6.3.3  
Core version  
6.3.4  
**Detailed description of issue**  
I want to set a password for pdf . If there is any function available pdfjs.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [February 2, 2022, 9:25am UTC](https://pdfjs.community/t/set-password-for-generating-pdf/1346/3 "2022-02-02T09:25:04Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Integrating PDF.js Express Plus into a new Angular project - Sample overview](https://pdfjs.express/documentation/get-started/angular/new-project#sample-overview)
- [Integrating PDF.js Express Plus with NPM - 3. Usage](https://pdfjs.express/documentation/get-started/npm#3.-usage)
- [Manually Download & integrate PDF.js Express Plus - Prerequisites](https://pdfjs.express/documentation/get-started/manually#prerequisites)

APIs:
- [Core.Annotations.Forms.FieldManager - setPrintHandler()](https://pdfjs.express/api/Core.Annotations.Forms.FieldManager.html#setPrintHandler__anchor)
- [Core.Annotations.Forms.EmbeddedJS](https://pdfjs.express/api/Core.Annotations.Forms.EmbeddedJS.html#__anchor)
- [Core.PartRetrievers.PartRetriever - setErrorCallback(callback)](https://pdfjs.express/api/Core.PartRetrievers.PartRetriever.html#setErrorCallback__anchor)

Forums:
- [Load document by Url and save with watermark and html](https://pdfjs.community/t/load-document-by-url-and-save-with-watermark-and-html/502/1)
- [How to load different pdf on pdfjs express viewer on passing url through button click](https://pdfjs.community/t/how-to-load-different-pdf-on-pdfjs-express-viewer-on-passing-url-through-button-click/320/1)
- [Cannot lock pdf](https://pdfjs.community/t/cannot-lock-pdf/740/1)

---

<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:** [February 3, 2022, 3:28pm UTC](https://pdfjs.community/t/set-password-for-generating-pdf/1346/4 "2022-02-03T15:28:52Z")

</div>

Hi there,

PDF.js Express does not have this feature. We do not support any kind of document manipulation.

Thanks!  
Logan
