Blocking download of files...
Hi, I'm wondering if it's possible to block the abillity to download objects of type file (e.g. right-clicking on a file and choose "Save Link as...")? I'm asking because I have a site with PDF-files, which I want the users to read through their webbrowser (via the PDF-plugin), but not to download. Hope some of you can help... -- mvh./Best regards Juri Jensen ----------------------------------- Pingvin Partner - Linux løsninger email: juri@jones.dk -----------------------------------
Juri Jensen wrote:
Hi,
I'm wondering if it's possible to block the abillity to download objects of type file (e.g. right-clicking on a file and choose "Save Link as...")?
Zope does not have a mechanism for this, as one HTTP request looks like any other. However I think that it might be possible to 'hijack' the right click using some javascript on the page. You'll have to investigate that yourself elswhere, though.
I'm asking because I have a site with PDF-files, which I want the users to read through their webbrowser (via the PDF-plugin), but not to download.
I'm going to guess that you're 'framing' the PDF with advertising in some way, and don't want to lose the advertising revenue? A more user friendly approach would be to include a low key sponsorship within the PDF itself. HTH, Michael Bernstein.
Why do you want to force them to read it in their browser? I personally cannot stand doing that. I prefer to download PDFs then open them outside of IE. Many Windows systems with minimal memory often choke when you try to open another application such as Word or Excel or Acrobat reader within IE, especially if you have a couple of other apps already running. I also occasionally have trouble printing from a PDF doc opened inside IE - never when opened standalone. ----- Original Message ----- From: Juri Jensen <juri@jones.dk> To: <zope@zope.org> Sent: Friday, February 25, 2000 5:06 PM Subject: [Zope] Blocking download of files... Hi, I'm wondering if it's possible to block the abillity to download objects of type file (e.g. right-clicking on a file and choose "Save Link as...")? I'm asking because I have a site with PDF-files, which I want the users to read through their webbrowser (via the PDF-plugin), but not to download. Hope some of you can help... -- mvh./Best regards Juri Jensen ----------------------------------- Pingvin Partner - Linux løsninger email: juri@jones.dk ----------------------------------- _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Fri, 25 Feb 2000, Juri Jensen wrote:
Hi,
I'm wondering if it's possible to block the abillity to download objects of type file (e.g. right-clicking on a file and choose "Save Link as...")?
I'm asking because I have a site with PDF-files, which I want the users to read through their webbrowser (via the PDF-plugin), but not to download.
Fundamentally, no. You have no control of my "browser". If you let we read the file in order to display it, you cannot keep me from storing that as a file. In fact, most browsers do store it in a file in their cache. It's very easy to "rob the cache" on most machines. -- Richard Wackerbarth rkw@Dataplex.NET
participants (4)
-
Jim Sanford -
Juri Jensen -
Michael Bernstein -
Richard Wackerbarth