Posts: 4
Threads: 2
Joined: Nov 2022
Reputation:
0
Location: Slovenia
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.
Posts: 2,267
Threads: 199
Joined: Mar 2018
Reputation:
86
Location: Auckland, New Zealand
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.
Posts: 2,267
Threads: 199
Joined: Mar 2018
Reputation:
86
Location: Auckland, New Zealand
04-21-2023, 02:56 AM
(This post was last modified: 04-21-2023, 02:57 AM by Alexandre Machado.)
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
Posts: 171
Threads: 17
Joined: Jun 2018
Reputation:
21
Location: US
>>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.