Re: pictures
- From: "Kevin Frey" <kevin_g_frey@xxxxxxxxxxx>
- Date: Fri, 3 Mar 2006 09:21:13 +1100
In practice, you can't prevent it entirely. You could trap the right-mouse
click event on each image and swallow it, but at the end of the day the user
can see the HTML source and grab the image that way if they really want (ie.
just put the image URL into the address bar).
Be warned, though, that playing these sorts of tricks on users is more
likely to just frustrate them than anything else, in my experience, so you
may as well stop worrying it. Even if you could prevent the image being
captured directly, they could just print-screen to capture the image and cut
it out that way. Different people will have different opinions, but my
opinion is that if you can't *entirely* prevent it, don't bother worrying
about it. If someone wants to get your image, they'll get it.
The fact that the web browser does what it does and how it works makes it
hard for you to secure your application against this type of "theft". The
same problem applies with Javascript - any Javascript you write is visible
to the browser, and can be viewed, so that can be taken also.
Kevin
"rodchar" <rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:58364E4B-95F3-4D8F-9423-90DD7E2E9CA2@xxxxxxxxxxxxxxxx
hey all,
how do you keep users from right-clicking on your asp.net and saving your
images?
thanks,
rodchar
.
- Follow-Ups:
- Re: pictures
- From: Mark Rae
- Re: pictures
- Prev by Date: Re: stuck and confused
- Next by Date: Re: manipulating hex values
- Previous by thread: Re: stuck and confused
- Next by thread: Re: pictures
- Index(es):
Relevant Pages
|