"Manu Verhaegen" <[EMAIL PROTECTED]> wrote in message
E10E651CDD2DD51189120000E8E8C70F5513@compuver01">news:E10E651CDD2DD51189120000E8E8C70F5513@compuver01...
> Hi,
> You can right click on a image on your browser and choose save.
> I want to disable this option, how can i do this


1. JavaScript - catch right-button-clicks and do something else with them.

(user can turn off JavaScript)
(many scripts of this sort are vulnerable to: press and hold
left button, click right button, release left button)


2. Put the image as a table background, then put a transparent .gif over
it - someone right-click-and-save'ing will get themselves a transparent .gif

(use can look at the source and call the image directly, or pick it
out of the browser cache)


3. Put a placeholder picture in, then use JavaScript to dynamically
swap your actual image so it doesn't show up in the HTML source

(user can trace the JavaScript or write themselves a script to
return the current image URL)
(users without JavaScript are severely peeved)


4. Use an applet or plug-in to display a non-clickable image

(User can view source then call image directly).
(People trying to print out your page will hate you).


5. Use an applet or plug-in to display a non-clickable
image stored in some non-standard format.

(Hackers will enjoy munching on your plug-in;
everyone else will use a screen-capture utility).


Basically,

(a) if a user can see it they can steal it, and

(b) trying to prevent this just ticks people off.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to