473,480 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to prevent download of images on my pages.

I have images that I need to prevent the user from doing a right click and
selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com
Nov 18 '05 #1
11 3029
you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu event from
javascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.

a savvy user can always capture the entire screen and use paint to obtain
just the required pieces.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I have images that I need to prevent the user from doing a right click and
selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com

Nov 18 '05 #2
Or you can just turn off JavaScript and the context menu will always be
shown. Or you can view the document source, get the image URLs and navigate
the browser to them directly. Point being that it is not hard to get around
the programmatic restrictions.

In the end, it may be more trouble then it is worth to restrict the
downloading of the images. What you might do is place some kind of
watermark on the images to make it more difficult for the person to use on a
non-legitimate way.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu event from
javascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.

a savvy user can always capture the entire screen and use paint to obtain
just the required pieces.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I have images that I need to prevent the user from doing a right click and selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com


Nov 18 '05 #3
Any web site which has right-click disabled is a sign of an amateur web
site. If your clients don't mind having that reputation, go right ahead.
There is simply no way to prevent pictures from being downloaded by the
browser. That is, after all, what a browser does. If you see it in the page,
it's already on your computer.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uY**************@TK2MSFTNGP10.phx.gbl...
Or you can just turn off JavaScript and the context menu will always be
shown. Or you can view the document source, get the image URLs and navigate the browser to them directly. Point being that it is not hard to get around the programmatic restrictions.

In the end, it may be more trouble then it is worth to restrict the
downloading of the images. What you might do is place some kind of
watermark on the images to make it more difficult for the person to use on a non-legitimate way.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu event from
javascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.

a savvy user can always capture the entire screen and use paint to obtain just the required pieces.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I have images that I need to prevent the user from doing a right click

and selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com



Nov 18 '05 #4
well i wouldn't go as far as saying it is amateur, i think that is overly
hash. OP probably needs to protect his IP thru copyrighting, that will give
some legal recourse, or the watermark is a good idea, although a good dose
of paintshop pro will remove the watermark.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:ev**************@TK2MSFTNGP10.phx.gbl...
Any web site which has right-click disabled is a sign of an amateur web
site. If your clients don't mind having that reputation, go right ahead.
There is simply no way to prevent pictures from being downloaded by the
browser. That is, after all, what a browser does. If you see it in the page, it's already on your computer.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uY**************@TK2MSFTNGP10.phx.gbl...
Or you can just turn off JavaScript and the context menu will always be
shown. Or you can view the document source, get the image URLs and navigate
the browser to them directly. Point being that it is not hard to get

around
the programmatic restrictions.

In the end, it may be more trouble then it is worth to restrict the
downloading of the images. What you might do is place some kind of
watermark on the images to make it more difficult for the person to use on a
non-legitimate way.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
you cannot prevent it. you may take steps to make it more difficult but there are always ways to get the picture. i'd suggest you copyright the picture. if this doesn't work for you, handle the oncontextmenu event from javascript which fires off when the right mouse button is clicked. there won't be a menu so the picture won't be saved....for the most part.

a savvy user can always capture the entire screen and use paint to obtain just the required pieces.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
> I have images that I need to prevent the user from doing a right

click and
> selecting "Save Picture As"? How can I do this?
>
> --
> mo*******@nospam.com
>
>



Nov 18 '05 #5
moondaddy wrote:
I have images that I need to prevent the user from doing a right click
and selecting "Save Picture As"? How can I do this?


No can do. You can make it so the the majority of users cannot save it
(ie, through JavaScript as was mentioned), but if someone really wants to
save it, they will.

Think about it: You have to transfer the picture to the web browser so it
can be displayed, right? In that case it already is: 1) in the client
computer's memory, and 2) probably in a cache locally too.

If you want to see how else you can try to protect your picture post here.

--
gabriel
Nov 18 '05 #6
Yes, digital watermarks are the only possible means to any real kind of
protection. Of course, it doesn't stop someone from copying the images, but
it does make it possible to track them down and prosecute.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:Oo**************@TK2MSFTNGP11.phx.gbl...
well i wouldn't go as far as saying it is amateur, i think that is overly
hash. OP probably needs to protect his IP thru copyrighting, that will give some legal recourse, or the watermark is a good idea, although a good dose
of paintshop pro will remove the watermark.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:ev**************@TK2MSFTNGP10.phx.gbl...
Any web site which has right-click disabled is a sign of an amateur web
site. If your clients don't mind having that reputation, go right ahead.
There is simply no way to prevent pictures from being downloaded by the
browser. That is, after all, what a browser does. If you see it in the page,
it's already on your computer.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uY**************@TK2MSFTNGP10.phx.gbl...
Or you can just turn off JavaScript and the context menu will always be shown. Or you can view the document source, get the image URLs and

navigate
the browser to them directly. Point being that it is not hard to get

around
the programmatic restrictions.

In the end, it may be more trouble then it is worth to restrict the
downloading of the images. What you might do is place some kind of
watermark on the images to make it more difficult for the person to
use on
a
non-legitimate way.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
> you cannot prevent it. you may take steps to make it more difficult but > there are always ways to get the picture. i'd suggest you copyright the > picture. if this doesn't work for you, handle the oncontextmenu
event from
> javascript which fires off when the right mouse button is clicked.

there > won't be a menu so the picture won't be saved....for the most part.
>
> a savvy user can always capture the entire screen and use paint to

obtain
> just the required pieces.
>
> --
> Regards,
> Alvin Bruney [ASP.NET MVP]
> Got tidbits? Get it here...
> http://tinyurl.com/3he3b
> "moondaddy" <mo*******@nospam.com> wrote in message
> news:%2******************@TK2MSFTNGP12.phx.gbl...
> > I have images that I need to prevent the user from doing a right click and
> > selecting "Save Picture As"? How can I do this?
> >
> > --
> > mo*******@nospam.com
> >
> >
>
>



Nov 18 '05 #7
Here is solutions you might try.

1. Javaapplet showing the pictures.
2. Flash to show the pictures.


"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I have images that I need to prevent the user from doing a right click and
selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com

Nov 18 '05 #8
Just for giggles, I will often check out "image stopper" attempts.
Very few cannot be easily outwitted. If you are only interested in
keeping "honest people honest" then go for it. Otherwise, just figure
any image that you put on the web can be downloaded and work around
it. If you are putting copies of images you want money for, try
putting a complex watermark on the image. Also, make the image very
low resolution. It will keep people from being able to use it for
much, plus saves download time. The Flash option might work better
than the Java applet, but even then, there is always Alt-Print-Screen.

On Mon, 16 Feb 2004 17:04:43 -0500, "George Ter-Saakov"
<no****@hotmail.com> wrote:
Here is solutions you might try.

1. Javaapplet showing the pictures.
2. Flash to show the pictures.


"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl. ..
I have images that I need to prevent the user from doing a right click and
selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com


Nov 18 '05 #9
Two words.....
screen capture

If you can see it, it is available to "steal".

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Here is solutions you might try.

1. Javaapplet showing the pictures.
2. Flash to show the pictures.


"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I have images that I need to prevent the user from doing a right click and selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com


Nov 18 '05 #10
"George Ter-Saakov" <no****@hotmail.com> wrote in news:#FcYFjN9DHA.3380
@tk2msftngp13.phx.gbl:
Here is solutions you might try.

1. Javaapplet showing the pictures.
2. Flash to show the pictures.


The problem is that anyone can still just screenshot the picture. At most you
can protect against users who dont know very much. But anyone with even a
little bit of knowledge will easily be able to get the pictures one way or
another.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 18 '05 #11
> 1. Javaapplet showing the pictures.
2. Flash to show the pictures.
Can you say "Screen Capture?" (CTRL|PRINT SCREEN)

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:#F**************@tk2msftngp13.phx.gbl... Here is solutions you might try.

1. Javaapplet showing the pictures.
2. Flash to show the pictures.


"moondaddy" <mo*******@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I have images that I need to prevent the user from doing a right click and selecting "Save Picture As"? How can I do this?

--
mo*******@nospam.com


Nov 18 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1776
by: python | last post by:
I have a script that downloads some webpages.The problem is that, sometimes, after I download few pages the script hangs( stops). (But sometimes it finishes in an excellent way ( to the end) and...
8
9749
by: Alpenvrouwtje | last post by:
Hallo, Does anyone have a (simple?) javascript code for me to prevent that people take the photo's of my website while they use the right mouse button. I know that there are ways around this...
8
3289
by: lawrence | last post by:
Under the domain publicpen.com I've several dozen sites in subdiretories, such as www.publicpen.com/honenbeger. I've no trouble with any of these sites. But under one, which I put in yesterday,...
3
5517
by: ad.von.reeken | last post by:
Hello CSS-ers, My question is: Is it possible to use CSS to prevent the 'Gecko-underline' behind 'anchored' images on pages with patterned background images? The page...
5
1823
by: Roman | last post by:
I'm using a single css for 3 different layouts in my site, where everything is the same, but header images. Recently I've run a "download times" test and it turned out that my css is calling the 3...
0
1876
by: Sarah Akers | last post by:
GgF ----gL5cJ72EqiGIQ0SK65Rz Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html> <head> <style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
0
1920
by: Anne Snow | last post by:
7qs ----bSCMEc0pLIbJxmV9 Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px;...
0
1776
by: Lynda Kilgore | last post by:
jGu ----qtHwhORV90yyhqJMOc Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px;...
6
1439
by: Buz Waitz | last post by:
For some reason, even though all of my jpgs and gifs download to IE with the html on the stand alone server, and on computers within our peer-to-peer lan; they do not all download to clients over...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7048
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7088
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6741
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4485
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2997
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
183
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.