~~~ Please read before posting. ~~~

Important: We need your Club Number at a minimum, and as many details as possible.
For further info please read This page before posting.

prevent viewers downloading uploaded pdf files

  • safiullahnesma
  • safiullahnesma's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thanks: 3

prevent viewers downloading uploaded pdf files

6 years 7 months ago
#74788
Dear,

I usually upload pdf files in our website for club's newsletters, magazines and photo galleries. Currently when someone clicks the link from the concerned page it automatically downloads the file instead of viewing it. How to prevent users to download & print and instead allow view only.

Regards,

Mohammad Safiullah
Site Administrator (Club # 1014428)
Mohammad Safiullah FCMA, DTM
Site Administrator
nesma-partners.toastmastersclubs.org
Nesma & Partners Toastmasters (Club # 1014428)
Al Khobar, Saudi Arabia
The topic has been locked.
  • Brian
  • Brian's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 10951
  • Thanks: 3643

Re: prevent viewers downloading uploaded pdf files

6 years 7 months ago
#74793
please see file manager documentation.
support.toastmastersclubs.org/doc/item/linking-to-files
Thank you,

Brian McDonald DTM
Silver and Wiser Online Toastmasters Club #777940

Technical Support Consultant for FreeToastHost
The topic has been locked.
  • safiullahnesma
  • safiullahnesma's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thanks: 3

Re: prevent viewers downloading uploaded pdf files

6 years 7 months ago
#74794
Thank you very much. However, the problem is partly solved. Now after viewing, the user can still download the file. Is there any way to prevent users to download and print the file?

Regards,
Mohammad Safiullah FCMA, DTM
Site Administrator
nesma-partners.toastmastersclubs.org
Nesma & Partners Toastmasters (Club # 1014428)
Al Khobar, Saudi Arabia
The topic has been locked.
  • Brian
  • Brian's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 10951
  • Thanks: 3643

Re: prevent viewers downloading uploaded pdf files

6 years 7 months ago
#74795
No, it you see it on your computer you have already downloaded the file.
Thank you,

Brian McDonald DTM
Silver and Wiser Online Toastmasters Club #777940

Technical Support Consultant for FreeToastHost
The topic has been locked.
  • RogerM
  • RogerM's Avatar
  • FreeToastHost Ambassador
  • FreeToastHost Ambassador
  • Thanks: 0

Re: prevent viewers downloading uploaded pdf files

6 years 7 months ago
#74796
Did you change the direct URL as shown in the documentation that Brian referred you to?

"If you want a file to display directly in the browser, change the part that says "action=download" to "action=inline". This is particularly useful for pdf files."

Click on the PDF icon to see the direct URL and change the action = in that field.
The topic has been locked.
  • safiullahnesma
  • safiullahnesma's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thanks: 3

Re: prevent viewers downloading uploaded pdf files

6 years 7 months ago
#74800
Yes, I changed "action=download" to "action=inline". This facilitated viewing the file directly. However, it didn't prevent the user to download or print. I remember I visited a website in which I could neither download nor print the document. This was disabled by the owner. I don't know how!

Regards,
Mohammad Safiullah FCMA, DTM
Site Administrator
nesma-partners.toastmastersclubs.org
Nesma & Partners Toastmasters (Club # 1014428)
Al Khobar, Saudi Arabia
The topic has been locked.
Moderators: BrianPamrhtaylor3marc33NotLiableNSBjgavinHeniLcala305peterb323DebbieT
Time to create page: 0.553 seconds