3 ms·
A WASM-based PDF viewer may have security advantages over a native PDF viewer such as the viewer embedded in Safari or Chrome. I wonder if anyone has put MuPDF
by ttul 3y ago
A WASM-based PDF viewer may have security advantages over a native PDF viewer such as the viewer embedded in Safari or Chrome. I wonder if anyone has put MuPDF into a browser extension?
- kevincox 3y agoIIRC Chrome's PDF viewer is built upon NaCl which is basically a precursor to WASM. So it has lots of the same benefits and is basically running inside the web sandbox already. Until Firefox shipped PDF.js it was likely the most secure widely used PDF viewer due to this layered architecture. Of course NaCl is no longer available to web clients, so I don't know what the exact state of the Chromium PDF viewer is. Is NaCl maintained just for it or is it using some other sandbox now?
- kevingadd 3y agoAccording to https://blog.chromium.org/2024/02/optimizing-safe-browsing-checks-in.html https://blog.chromium.org/2024/02/optimizing-safe-browsing-c... the PDF viewer is still sandboxed, which would suggest they're either still using NaCl or they've moved to WASM.