DEV Community

Discussion on: How To Easily Remove a Password From a PDF file

Collapse
 
ccoveille profile image
Christophe Colombier • Edited

Except that is a CLI tool, how does it differ from opening it in PDF viewer and use print as PDF ?

It solved my issues for a decade, now.

Collapse
 
federicotrotta profile image
Federico Trotta

Didn't think about that possibility.

Thanks, Christophe!

Collapse
 
ccoveille profile image
Christophe Colombier

Anyway, your way is great if you have a bunch of files protected with the same password, something like medical analysis results that are always secured with a "password" made of your name and birthday.

Which is a poor but still good thing for security in term of global data leaks.

Even if it can be brute forced easily on one file with such known pattern. It would take time on millions of files

Thread Thread
 
federicotrotta profile image
Federico Trotta

Thank you! Eventually, you gave me an idea for a little personal project to expand these concepts :) :)

Thread Thread
 
ccoveille profile image
Christophe Colombier

I hope I won't be quoted in a security bulletin as the origin of your idea to brute force thousands of password protected documents you had access by error 😅🤣😂

Thread Thread
 
federicotrotta profile image
Federico Trotta

You never know what people can do "for the sake of Science" 😂😂😂😂😂😂😂😂😂😂