The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Security and Cryptography
|
What about a script that keeps users from right-clicking on certain images?
Discuss What about a script that keeps users from right-clicking on certain images? in the Security and Cryptography forum on Dev Shed. What about a script that keeps users from right-clicking on certain images? Security and Cryptography forum discussing issues related to coding, server applications, network protection, data protection, firewalls, ciphers and the like.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

April 18th, 2000, 08:57 PM
|
|
Junior Member
|
|
Join Date: Apr 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
What about a script that keeps users from right-clicking on certain images?
is there such a thing? It would be great to know that no one could easily steal my images.. does anyone know how I could script this?
|

April 18th, 2000, 11:40 PM
|
 |
Contributing User
|
|
|
|
|
I visited a site recently that whenever
you moused over an image, an alert box
popped up. Clicking ok on the box did no
good, because to do that your mouse had to
be over the image, which caused another
alert box to pop up. You had to move the
mouse off the image and push the Enter key
to get rid of the alert box.
This would probably deter the casual
image "collector", but nothing (that I know
of) is going to keep your images 100% safe.
Scott
|

April 19th, 2000, 07:34 AM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
Easy workaround for that would be to turn off JS in your client...
|

April 20th, 2000, 12:09 PM
|
 |
Contributing User
|
|
|
|
Well, it sure didn't stop me from saving
them!  (and I didn't even have to disable
js)
I think that the best defense for images is
to slice them up, but there's still the
screenshot technique.
Scott
|

April 23rd, 2000, 02:26 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
I recently noticed that one of those image optimizing websites used a cool method to protect the optimized images, so you couldn't click thim except for when you register. The site is called www.gifwizard.com. It uses onMouseOver to change the image when you move your mouse over the image. Ofcourse it doesn't protect against the screenshot method.
|

May 1st, 2000, 05:50 PM
|
|
Registered User
|
|
Join Date: Dec 1999
Posts: 25
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Disable Javascript,
go to the site,
use Gif Wizard,
right-click the image you like,
select Save Image As.
|

May 19th, 2000, 06:07 PM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 11
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
So what would stop someone from doing a screen capture? They could then cut and paste into their favorite image editor, and save as any format they liked.
No matter how hard you try, there is always a way around, especially in an environment that was never designed with security in mind.
-Joe
|

May 21st, 2000, 12:18 AM
|
 |
Contributing User
|
|
|
|
|
A site I visited recently had written
their copyright info right on the image
itself. Nothing new you say? Just clip it
off you say? Not this time! They had put
it right across the middle of the image.
They wrote there using a transparent
embossing effect. Subtle enough that you
could still see the artwork, yet completely
undeniable that it was theirs.
Scott
|

May 31st, 2000, 10:37 AM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
The best way to protect your images is to call a script, which in turn calls your image. Anytime I've seen this done, it's been done in java. It looks just like an image to your visitors, but it's actually the output of a program. Because your browser doesn't realise that this program displays an image, it won't offer you the option to save the image.
Of course, as has already been noted, there is nothing you can do to stop someone from just doing a screen grab :/
------------------
Cheers,
Jack
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|