How to Prevent Firefox from Printing a Secured PDF
Question details
The user needs to enforce print restrictions on a secured PDF when viewed in the Mozilla Firefox browser.

- Product
- PDF / Mozilla Firefox
- Device & OS
- not provided
- Scenario
- A secured PDF with disabled printing is opened in Firefox, but the user notices the browser still allows the file to be printed.
- Observed behavior
- Firefox bypasses the PDF document's security restrictions and permits printing because it relies on its own built-in PDF viewer rather than a compliant PDF plugin like Adobe Reader.
Verify that your PDF file actually has its print permissions set to 'Not Allowed' using a standard, dedicated PDF editor before troubleshooting browser-specific bypasses.
Change the Default PDF Viewer in Firefox Settings
Force Firefox to open PDFs with a dedicated PDF reader application that respects document security, rather than using its built-in viewer.
Because Firefox's built-in viewer (PDF.js) does not always strictly enforce standard PDF document restrictions, the most effective solution is to instruct the browser to hand off PDF files to a dedicated, compliant application.
Open Mozilla Firefox, click the menu button (three horizontal lines) in the top-right corner, and select 'Settings'.
In the 'General' panel, scroll down until you find the 'Applications' section under 'Files and Applications'.
Find 'Portable Document Format (PDF)' in the list of content types and click on it.
Click the drop-down arrow in the 'Action' column and change it from 'Open in Firefox' to 'Use Adobe Acrobat', 'Use WPS PDF', or 'Always ask'.

Apply Certificate-Based Security or Stricter Encryption
If you are the document creator, applying a stronger encryption method can sometimes prevent built-in browser viewers from easily reading or overriding the document.
Easily Restrict PDF Printing with WPS Office
WPS Office provides advanced PDF security tools that allow you to easily set passwords and completely restrict printing, copying, or editing. Opening PDFs in WPS PDF ensures all security restrictions are strictly respected.
- 1. Open the PDF: Launch WPS Office and open the PDF document you want to secure.
- 2. Access Protection Tools: Navigate to the 'Protect' tab at the top of the interface and click on the 'Encrypt' button.
- 3. Set Restrictions: Check the box for 'Set password to restrict editing and printing'. Enter a strong permissions password.
- 4. Disable Printing: In the drop-down menu for printing permissions, select 'Not Allowed' and click 'Confirm' to save your secured PDF.

Frequently Asked Questions
Why does Firefox ignore my PDF print restrictions?
Firefox uses a built-in PDF viewer based on PDF.js. Historically, this viewer prioritizes accessibility and seamless reading over enforcing digital rights management (DRM) or standard password restrictions created by programs like Adobe Acrobat.
Are PDF print restrictions 100% secure?
No. Standard PDF print restrictions rely on the PDF viewer itself to enforce the rules. If a user opens the file in a non-compliant viewer, a third-party tool, or certain web browsers, they may bypass these restrictions.
How do I check if my PDF has print restrictions enabled?
Open the PDF in a dedicated reader like WPS PDF or Adobe Acrobat, go to 'Document Properties' (often found under the File menu), and check the 'Security' tab. It will list exactly which actions, including printing, are allowed or not allowed.
Can I prevent users from downloading the PDF altogether?
If the PDF is hosted on a website, standard PDF features cannot prevent downloading. You must use server-side scripts or specialized DRM web services to restrict downloads, though tech-savvy users may still capture the screen.




