3 ms·
The small issue with the append trick is that is that it assumes the reader application will now respect the new format and not open insecure parts... which mig
by jrowley 7y ago
The small issue with the append trick is that is that it assumes the reader application will now respect the new format and not open insecure parts... which might not be fully implemented in all cases and is reader specific.
Fully sanitizing the PDF yields better guarantees of security at the cost of lost functionality.
- ris 7y ago> The small issue with the append trick is that is that it assumes the reader application will now respect the new format and not open insecure parts... which might not be fully implemented in all cases and is reader specific. Yes, note my original emphasised use of the term "supposed to". > Fully sanitizing the PDF yields better guarantees of security at the cost of lost functionality. Indeed it's a tradeoff. But if you're willing to throw away the features which this extreme sanitization would trample across and have any ability to design PDF out of your system, you're probably better off not using PDF at all in favour of some straightforward image format.