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, andkeyboard 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 to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘need copy disable functionality’ is closed to new replies.