node-qpdf icon indicating copy to clipboard operation
node-qpdf copied to clipboard

File restrictions not working properly

Open aim878 opened this issue 4 years ago • 0 comments

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

aim878 avatar Dec 31 '20 16:12 aim878