Atozed Forums
Showing PDF without save option - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Showing PDF without save option (/thread-3170.html)



Showing PDF without save option - freshslo - 04-20-2023

Hello,

Is it somehow possible to show PDF on the page (not in the new window) without an option to save or print PDF?

Now I put IWUrlWindow on the form and call PDF file, but it shows with a toolbar with save and print buttons.


RE: Showing PDF without save option - Alexandre Machado - 04-21-2023

There are some techniques that can make the download/saving of the PDF file a little harder for the average user, but you can't actually prevent the user from saving it in a bullet proof way.

IntraWeb has a one time cache file type which could possibly be used to handle it as well, but it is the same case above.


RE: Showing PDF without save option - Alexandre Machado - 04-21-2023

Another use @JNP also reminded me that you can use the IWCanvas to display the PDF without any possibility to copy and/or download. But you will also lose other functionality like search... and you also have to display pages one by one


RE: Showing PDF without save option - MJS@mjs.us - 04-21-2023

>>Is it somehow possible to show PDF on the page (not in the new window)
>>without an option to save or print PDF?

Adding '#toolbar=0' (no quotes) to the end of the url might work in most browsers.


RE: Showing PDF without save option - freshslo - 04-24-2023

Thank you