Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to prevent download of images on my pages.

Reply
Thread Tools

How to prevent download of images on my pages.

 
 
moondaddy
Guest
Posts: n/a
 
      02-16-2004
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?

--



 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      02-16-2004
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" <> wrote in message
news:%23h%...
> 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?
>
> --
>
>
>



 
Reply With Quote
 
 
 
 
Peter Rilling
Guest
Posts: n/a
 
      02-16-2004
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:...
> 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" <> wrote in message
> news:%23h%...
> > 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?
> >
> > --
> >
> >
> >

>
>



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      02-16-2004
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" <> wrote in message
news:...
> 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:...
> > 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" <> wrote in message
> > news:%23h%...
> > > 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?
> > >
> > > --
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      02-16-2004
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" <> wrote in message
news:...
> 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" <> wrote in message
> news:...
> > 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:...
> > > 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" <> wrote in message
> > > news:%23h%...
> > > > 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?
> > > >
> > > > --
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
gabriel
Guest
Posts: n/a
 
      02-16-2004
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
 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      02-16-2004
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:...
> 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" <> wrote in message
> news:...
> > 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" <> wrote in message
> > news:...
> > > 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:...
> > > > 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" <> wrote in message
> > > > news:%23h%...
> > > > > 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?
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
George Ter-Saakov
Guest
Posts: n/a
 
      02-16-2004
Here is solutions you might try.

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




"moondaddy" <> wrote in message
news:%23h%...
> 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?
>
> --
>
>
>



 
Reply With Quote
 
Dan Brussee
Guest
Posts: n/a
 
      02-16-2004
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"
<> wrote:

>Here is solutions you might try.
>
>1. Javaapplet showing the pictures.
>2. Flash to show the pictures.
>
>
>
>
>"moondaddy" <> wrote in message
>news:%23h%. ..
>> 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?
>>
>> --
>>
>>
>>

>


 
Reply With Quote
 
Curt_C [MVP]
Guest
Posts: n/a
 
      02-16-2004
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" <> wrote in message
news:%...
> Here is solutions you might try.
>
> 1. Javaapplet showing the pictures.
> 2. Flash to show the pictures.
>
>
>
>
> "moondaddy" <> wrote in message
> news:%23h%...
> > 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?
> >
> > --
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct Download Movies - No Download Limits - Download DivX DVDMovies hussain dandan Python 0 12-06-2009 04:52 AM
Prevent Browser Caching with HTTP headers, but allow images to becached greylin HTML 0 05-16-2008 01:24 AM
How to prevent appearing download dialog for Trusted sites =?Utf-8?B?VmFkaW0=?= ASP .Net 1 01-20-2005 01:41 PM
global.asa to prevent linkng to images? Bill ASP General 6 10-17-2004 12:27 PM
How do I prevent multiple connections when drawing dynamic images? Ken Varn ASP .Net 3 06-11-2004 12:50 PM



Advertisments