Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q830

irt.org | About | Feedback | 314 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q830

Sent by
Derek Wickersham on July 19, 1999 at 11:12:45:

Comments:
Never say "never" or "it can't be done"!

You could make a CGI script that feeds the image to the browser (very simple to do with Perl). In the browser, the image would be linked to as "image.pl" or "image.cgi" or etc. Now you've hidden the actual file name of the image.

In that CGI script, you might only allow the image to be downloaded if the HTTP_Referrer is found to be your web server. That way, Joe Q. Curious can't just type in the direct URL of your image file and bypass the JavaScript that blocks the right-click-Save-As.

I concede that this is not a JavaScript-only solution, but it is a solution nonetheless.



Other feedback on 'irt.org FAQ Knowledge Base Q830' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.