PDA

View Full Version : Picture Protection


cjmelhorn
4-12-03, 05:28 PM
Hello All,

I know I have seen this posted before, however, to search all the forums and find it, may take more time than I have.

I am building a site for the Local Fire Dept. I would like (and so would they) to make it as difficult as possible to steal the images off the website, especially the Logo's which are now trademark protected.

I know that any hacker, who has the time to care, can usually get the photos... however, I just want to be difficult for the average Joe surfing through the website.

I have currently built all the web pages with the photos and graphics in another folder within the website.

Is there away to hide those folders or linkdirectives? Maybe even hide my source in the web pages itself?

Let me know,
Thanks,

Craig

B&T
4-12-03, 05:44 PM
First of all - as you said - anyone can get to what is on your site. This is due to the very nature of browsers. Anything the user sees has already been downloaded to their machine and is available for the "stealing" in their cache folder. Anyone who has beena round a while knows this.

But, here are some things you can do to make them go look for the stuff.

Use frames. If you put your website in frames, if they do view source in the browser they just see the main frame page and not your html on the current page.

Put oncontextmenu="return false" in the body tag of your html. In IE and NS (but not on a MAC) this will disable the right click.

cjmelhorn
4-12-03, 11:21 PM
Well that is good. I have a disable script that I use for the First Aid Squad site I did. It gives a false sense of security and a little message....

This script does not work in Opera and also with the newer versions of IE, when you mouse over a pic, it gives you the option to save, print and something else.

I realize about the CACHE, to help it load faster, but I know that so many people have no idea that this even exists and if they realize it does, many cannot find the folder.

I just want to give the impression, to make some people feel better, though I know it is not perfect... but like you said, nature of the beast!!

Oh well.. thanks for the one little add I can make.. to at least make it difficult. Page does consist of a frame, but hell, that sure does not stop me!!! LOL

Thanks again..

(jj)
4-13-03, 04:29 AM
If you wish to disable the IE 6 image tool bar option, you can use
this meta tag in your <head></head> section

<META HTTP-EQUIV="imagetoolbar" CONTENT="no">

Likewise, you can use:

<img src="xxxx.xxx" galleryimg="no">

in your individual <img> tags, to disable gallery imaging.

cjmelhorn
4-13-03, 11:16 AM
What does the galleryimg tag do? Prevent the grabbing of images via a tool?

(jj)
4-13-03, 11:36 AM
No, the "galleryimg=no" does the same thing as the Meta tag, eliminates the image toolbar function in IE 6. Either one will work, just sometimes easier for just one pic to add it into the <img> tag than to remember to add the Meta tag.

You can use both on the same page, no conflicts.

And if you (or your client) is really paranoid, you can add the No-Cache meta tag as well.

<meta http-equiv="pragma" content="no-cache">

That way the page is not supposed to be cached by the browser, so the pic would not end up in the visitors temporary internet files (supposedly)

B&T
4-13-03, 12:12 PM
that no-cache meta tag will not keep the page from being loaded onto the users machine. what it will do (in some browsers) is not load from the cache again, so you always load a fresh page. that is an often misunderstood attribute.

cjmelhorn
4-13-03, 12:15 PM
Howdy all..thanks for all the suggestions... I am using the IE Disable tool for the Toolbar Images.. and I am using the Right Click Disable script that I have used in the past...

It will do the trick... anyone know a Right Click Disable script for Opera 7.0?

muijefr
4-14-03, 01:43 AM
what images are your trying to protect on your site:

http://www.the-ebiz.net/forum/cjmpage.html

If I right click on your source I can then view your source as well.


:p

(jj)
4-14-03, 02:31 AM
I am building a site for the Local Fire Dept.

muijefr,

I don't think it's his site that he's talking about here.

B&T
4-14-03, 02:37 AM
don't have opera 7 to test, but did you try the suggestion in my earlier post in this thread?

Put oncontextmenu="return false" in the body tag of your html.

cjmelhorn
4-14-03, 08:14 AM
B&T with that tag, do I just put it any where in the HTML Tag? I had tried entering it, and I returned a script error through DreamWeaver.

I will try again, and I have not tried that in Opera. I try to keep Opera, IE, and Netscape, but I no longer have netscape, cause I really do not like it anymore.. oh well...

I will try that code again...

CJ

muijefr
4-14-03, 09:45 AM
cjm:

to make it as difficult as possible to steal the images off the website, especially the Logo's which are now trademark protected....and Maybe even hide my source in the web pages itself?


Perhaps, when all is said and done, we might get a URL to apply a what we see is what we get/wwsiweg security check but perhaps feeling secure is just as important as being secure.

:p

B&T
4-14-03, 10:42 AM
put it in the body tag:

<body oncontextmenu="return false">

Catweasel
4-17-03, 09:35 PM
Originally posted by B&T
Use frames. If you put your website in frames, if they do view source in the browser they just see the main frame page and not your html on the current page.

Mozilla / Phoenix / Camino / NS6 : Right-Click - "View Frame Source" ...

(But that's not really at issue. So what if they can view source?)

The suggested context menu event handler 'solution' will work in IE, dunno about Moz (maybe) or Opera (probably not). Wonder what happens in IE if you turn JScript off? ;-)

Also : "Save As ... HTML Complete" gets everything stored locally anyway, in nicely-organised directories...

As other people have said (and the OP admitted), there's no real solution - if they want the images, they can get them v.easily, either through right-clicking in the above-mentioned cases, or picking through the browser cache. IME, casual "poachers" aren't really a problem - they'll probably only use them locally (no great loss to you). And anybody who sets out with a real "let's steal images" agenda will get them anyhow.

CYa...