Title: need copy disable functionality
Last modified: July 30, 2025

---

# need copy disable functionality

 *  [rbale0831](https://wordpress.org/support/users/rbale0831/)
 * (@rbale0831)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/need-copy-disable-functionality/)
 * **Objective:**
   I want to embed a document (PDF, DOCX, or any other type) into
   a webpage (e.g., WordPress site), but I need to **protect the content**. Specifically:
    - Users **should not be able to copy** the content (text or images).
    - Users **should not be able to download** or save the document.
    - The document must still be **viewable (scrollable)** for reference.
 * **Constraints:**
    - I cannot allow users to extract or replicate any part of the content.
    - I understand that full-proof protection is not possible via frontend alone,
      but I want to make it as restrictive as technically feasible.
 * **What I’ve Tried / Considered:**
    - Using `<iframe>` or embedded viewers (like Google Docs Viewer or PDF.js).
    - Applying JavaScript restrictions like disabling `right-click`, `copy`, and`
      keyboard shortcuts`.
    - Hiding download buttons and toolbar options.
 * **Required Outcome:**
   A secure, embedded document viewer that:
    - Prevents copying of content (via selection, Ctrl+C, etc.)
    - Prevents downloading the document (no toolbar download button, no right-click
      save)
    - Is scrollable and user-friendly
    - Ideally works within WordPress or can be custom-coded if needed.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fneed-copy-disable-functionality%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [vidyakv](https://wordpress.org/support/users/vidyakv/)
 * (@vidyakv)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/need-copy-disable-functionality/#post-18584120)
 * Hi [@rbale0831](https://wordpress.org/support/users/rbale0831/),
 * Thanks for reaching out to us.
 * Unfortunately, it’s not currently possible.
   We are making use of the document
   viewer services from Google, Microsoft, and Box.com to provide a seamless experience.
   Since they are third-party services, we do not have control over any features
   that come with the viewer.
 * Regards,
   Vidya K V

Viewing 1 replies (of 1 total)

The topic ‘need copy disable functionality’ is closed to new replies.

 * ![](https://ps.w.org/embed-any-document/assets/icon.svg?rev=2576642)
 * [Embed Any Document - Embed PDF, Word, PowerPoint and Excel Files](https://wordpress.org/plugins/embed-any-document/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embed-any-document/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embed-any-document/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-any-document/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-any-document/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-any-document/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [vidyakv](https://wordpress.org/support/users/vidyakv/)
 * Last activity: [10 months, 1 week ago](https://wordpress.org/support/topic/need-copy-disable-functionality/#post-18584120)
 * Status: not resolved