Embed PDF on a webpage and prevent download
Actually, it is possible, you can adjust in your Google Drive option "Prevent viewers from downloading" Then set PDF file public, so everyone can view PDF in Viewer, but none can download it. I hope, that this will help for some.
Yes. Yes there is:
<div id="pdf">
<object width="100%" height="650" type="application/pdf" data="[ImageURLHere]#zoom=85&scrollbar=0&toolbar=0&navpanes=0" id="pdf_content" style="pointer-events: none;">
<p>Insert your error message here, if the PDF cannot be displayed.</p>
</object>
</div>
The pointer-events: none
styling will also prevent users from right-clicking the PDF and downloading.
just add #toolbar=0
to the url of the pdf