PDA

View Full Version : Preventing Windows XP save image feature in HTML



TJ_Tigger
10-19-2003, 07:39 AM
Does anyone have code that would prevent the XP Save image feature when viewing a web page? Is it html code or javascript?

Thanks

Derek
10-19-2003, 09:39 AM
Is the web page embedded in AMS or published on the web?

Corey
10-19-2003, 09:55 AM
Wouldn't matter, images are all in your users temp folder either way. One thing I have found is that you cannot serve *and* protect images. It's one or the other. Takes 2 seconds to make a 32-bit screencap. :)

There are tons of "no right click" javascripts on Google though. Although I advise against them, right clicking is a vital part of surfing, plus they can be very, very, very easily circumvented and they don't prevent image caching anyhow. There's a pragma no-cache tag you can check out on Google too but again, none of those things will truly protect anything...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Derek
10-19-2003, 11:03 AM
I realize its next to impossible to stop every way to copy things.
However, there are some preventative measures that can be taken to *help* stop the average joe. A possible for the Screen cap, you could use:

<body onload=setInterval("window.clipboardData.clearData()",20)>

If this was used in a page embedded in AMS it would be easier to control than a published page.
Additionally, to stop right-click save, you could put images in a table as the background and have a transparent null image on top so they can only save that one using right click.
No doubt theres others too ..

Just some thoughts

[disable print screen]

Corey
10-19-2003, 11:05 AM
In both cases the images are sitting neatly in your temp internet files folder politely awaiting god only knows what type of abuse.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Colin
10-20-2003, 10:17 AM
In the end, it's all about making it a bit more difficult for the average person to circumvent. You can't stop someone who is determined to steal something, but you can take away the easy route - basically making sure that the average law respecting user knows it's wrong to steal...

Corey
10-20-2003, 10:43 AM
My qualified opinion is that the, "I'll re-use this image but ONLY if I can right click it" user doesn't exist. Urban myth. :) There are just people who do and people who don't. That being said the people who do will indeed screencap and/or pop open a temporary internet files folder from my experience, so these are the two key points you need to address...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)