Copy link to clipboard
Copied
I'm stuck in a situation i want to prevent user from copying text. Can i prevent user from right click and copy text using ctrl + c. I know there must be a solutoin to that but i didn;t find anything yet.
but it didn't work as i guess pdf is rendered inside the iframe .
Copy link to clipboard
Copied
Can I ask why? 🙂 Keep in mind a user will be able to download the PDF and copy the text that way.
I can say that Embed will respect those restrictions. I was able to set a PDF such that copying was not allowed. When viewed in Embed, while I could select text, hitting CTRL+C did NOT copy the text to clipboard.
Copy link to clipboard
Copied
yes this is what i want to do. i want user to select the text , highlight it but should not be able to copy. either using ctrl+c or by right click and copy . how can i stop user from doing this ,
Copy link to clipboard
Copied
Use Acrobat - it lets you edit permissions on PDFs - not the free version though.
Copy link to clipboard
Copied
is it not possible with adobe embed api
Copy link to clipboard
Copied
You set the permissions in the PDF, using an app like Acrobat, after it's created and before you serve it, and then the online service respects it.
Copy link to clipboard
Copied
As Test Screen Name said. If you think about it, if it was done in Embed, someone could use devtools to simply remove that block.