From Dev.to
Password-protecting PDFs in JavaScript: what the encryption hides and what it doesn't
Adding a password to a PDF in JavaScript takes three lines. Knowing what that password actually protects takes a bit longer. I built a browser-only PDF protect tool and ran a few experiments along the...
