A simple gui tool to set or modifiy user password, owner password and restrictions like printing, editing, extracting, accessibility, assemble, form filling. It uses libqpdf for the pdf processing and win32 API for the gui (basically just a file chooser).
Please be aware that all setings except the user password are only usefull if compliant pdf reader is used. The owner password and all other restrictions are more or less just snake oil. RestrictPDF won't obey them and also allows to remove them.
Use CMake with MinGW-w64 GCC compiler. MSYS2 can provide all the necessary tools. Make sure that cmake can find qpdf headers and library. With no options cmake will look for qpdf/bin/qpdf28.dll
, qpdf/lib
, qpdf/include
inside of the RestrictPDF source folder.