Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File restrictions not working properly #18

Open
aim878 opened this issue Dec 31, 2020 · 0 comments
Open

File restrictions not working properly #18

aim878 opened this issue Dec 31, 2020 · 0 comments

Comments

@aim878
Copy link

aim878 commented Dec 31, 2020

var options = {
keyLength: 256,
password: '12345',
outputFile: '',
restrictions: {
modify: 'none',
extract: 'n'
}
var doc = await qpdf.encrypt(${fileLocation}.pdf, options)

when we tried the output file to edit, it is editable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant