Google Answers Logo
View Question
 
Q: web design how to reserve my pic not to be copied ( Answered 1 out of 5 stars,   7 Comments )
Question  
Subject: web design how to reserve my pic not to be copied
Category: Computers > Internet
Asked by: wangzhijun50-ga
List Price: $15.00
Posted: 01 Oct 2002 20:51 PDT
Expires: 31 Oct 2002 19:51 PST
Question ID: 71455
Dear there, 
I am designing my personal web page via "frontpage". I have my
personal pictures on my page.
I don't want my pic to be copied or downloaded by anyones. 
Also, I have seen some others reserved their pics well. Like, when I
press the right button of my mouse to copy/save their pics, they
showed"the pic is reserved by..," it isnot downloadable.
Could you please tell me how can I do it? Thank you very much for your
help. And I look forward to getting your answer soon. Thanx.
Answer  
Subject: Re: web design how to reserve my pic not to be copied
Answered By: snapanswer-ga on 01 Oct 2002 21:29 PDT
Rated:1 out of 5 stars
 
Wangzhijun50,
Typically, what you describe is accomplished by using JavaScript to
intercept the "right-click" of the mouse.  When a right-click occurs,
the script prompts the user with a message, which you can control to
provide any message you like.  There are also "silent" versions of
these scripts that simply block the right-click, without prompting the
user with a message.  The choice is yours.

It is important to note that if a user has JavaScript disabled on
their browser, then the right-click will not be disabled, and they
will easily be able to download images.  Also, if a user makes use of
a download "leech" tool, such as Download Accelerator Plus, they will
be able to download any files referenced on your site.  However, for
the majority of users, this will stop the downloads.

There are many versions of these scripts on the web.  I believe you
will find this one easy to work with and modify with a message that
will suit your needs:

CGIScript.net No-Right-Click 1:
http://www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_misc%2edb&command=viewone&id=35&op=t

Two other versions are available, if you want to look at alternatives:
http://www.cgiscript.net/site_javascripts_misc.htm

For your future reference, I have included some other sites that you
might want to use if you need other "common" scripts.

I have had good luck with scripts from CodeLifter.com.  You may want
to look at their "no right-click" script:
http://www.codelifter.com/main/javascript/norightclick1.html

And, on those occasions when you have the time to evaluate many, many
scripts, you may want to look at the large collection of scripts
available at HotScripts.com:
http://www.hotscripts.com/

The installation instructions are provided with the script, and I
believe you will find it very easy to use.  However, if any of this
information is unclear, please do not hesitate to request a
clarification.

Search Strategy:  Search script collections for "no right-click"
scripts
Search Terms: right-click

Request for Answer Clarification by wangzhijun50-ga on 01 Oct 2002 23:06 PDT
Dear there, 
I believe you guys are very professional at programming.
But as I said in my initial question, I am designing my page using
Frontpage, that is the only one I know to do the page things. And
also, I can edit it by HTML from the Geocities service. No Java, No
higher level, please. I really don't want to learn Java now. Could you
please re-answer my question by the simply way, please! I need your
help at the lower lever, please!
Thank you for your help and I look forward to hearing from you soon
again.
Wangzhijun50

Request for Answer Clarification by wangzhijun50-ga on 01 Oct 2002 23:16 PDT
Dear there,
I believe you guys are very professional at programming. But as I said
in my question, I am using "Frontpage" to design my page, because this
is the only one I know how to use. Also, you can help me with HTML, I
think I can add something into the Geocities' help link. No Java, no
higher level. Please!
I am sorry to bother you by my low level.By the way, could you please
tell me where I should edit/add in my HTML please, if you give me help
at HTML? I am sorry again. I look forward to getting your help soon.
Thanks.
Wangzhijun50

Request for Answer Clarification by wangzhijun50-ga on 01 Oct 2002 23:20 PDT
Also, my question is about how to avoid people to copy/download my
pics from my page. Is it as same as the "right clicking..." as you
mentioned in your question?

Clarification of Answer by snapanswer-ga on 02 Oct 2002 07:28 PDT
Wangzhijun50,
Typically, you would want to wait until after a researcher clarifies
the answer before issuing a rating.  Some researchers might not be
motivated to continue helping following a 1-star rating.  Since the
Google Answers service may be unfamiliar to you, I will attempt to
help you understand the answer.

Happily, JavaScript is not Java, and is fully compatible with Front
Page and Geocities.  In fact, the JavaScript that we are discussing
here is something that you add to your HTML documents.  You copy and
paste the script between the <HEAD>    </HEAD> codes near the top of
your HTML document.

Cancelling the right-click is the solution you seek.  I think if you
returned to the page where you saw the "picture registration" message,
you would find that it is simply a message that occurs when you
right-click.  You can create a similar message when you use the script
provided in the original answer on your pages.

I know that all of this can seem overwhelming and confusing in the
beginning.  But, once you successfully do this, you will be well on
your way to a good understanding of how to use scripts on your web
page.  Good luck.
wangzhijun50-ga rated this answer:1 out of 5 stars
Sorry to rate 1 star because the answer is not what I want. And I have
asked the "Frontapge" but I got "Java" answer. I still look forward
your help. Thanx.

Comments  
Subject: Re: web design how to reserve my pic not to be copied
From: ry9000000-ga on 01 Oct 2002 21:34 PDT
 
<SCRIPT LANGUAGE="JavaScript1.1"> 

<!-- Begin
function stopthief(ie) { var warning = "Right clicking this page is
not allowed.";
if (navigator.appName == 'Netscape' && ie.which == 3) {
alert(warning);
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' &&
event.button==2) {
alert(warning);
return false;
}
return true;
}
document.onmousedown = stopthief;
// End -->
</SCRIPT>


NOTE: To copy and paste this code highlight it by clicking and
dragging your mouse from the beginning to the end of the code. When
you have the code highlighted, press Ctrl + C on your keyboard to copy
it to your clipboard. Then you can paste it into your files.
Subject: Re: web design how to reserve my pic not to be copied
From: secret901-ga on 01 Oct 2002 23:46 PDT
 
Being a Java programmer, I have often been approached my many people
who confuse Java with Javascript.  Javascript is NOT Java, it is a
scripting language that is designed to integrate with the HTML of the
page.  I'm afraid that the asker had confused Java with Javascript.
Subject: Re: web design how to reserve my pic not to be copied
From: bobthedispatcher-ga on 02 Oct 2002 00:59 PDT
 
Since would rather pay money for a easy answer, rather than spend a
few minutes learning how to do it yourself, why not just have a web
designer do the whole site for you - you won't have to learn anything
at all, and when you want to add to or change your site's content,
that same web designer would certainly be happy to take your money
again, so you wont have to spend 5 minutes doiing it yourself.

Also - I should point out, the right click option is very easily
defeated, just click file>>save as   - and save the whole page - it
will stick the photo's in a subdirectory automaticly.

A more serious problem is when other sites link to your picture, so
that, while it appears on their page, it remains on your server, and
uses the bandwidth you are paying for!!! There is a fairly easy way to
stop this, using a line of code in your "htaccess" file, but I won't
bore you with any useful details.

"Be careful what you ask for, you just might get it!"
Subject: Re: web design how to reserve my pic not to be copied
From: voyager-ga on 02 Oct 2002 04:16 PDT
 
Hi wangzhijun50,

the only thing missing from the - otherwise complete - answer you got
to your question might be the reminder that the person who views your
page already downloaded your picture. It's right there - either in the
computer's memory or in its web cache. It is also probably on the
proxy server the user might have used.

Think about it for a second. People don't even NEED to download your
picture when they are actually viewing it. It IS ALREADY THERE. All
you can do is make it more difficult for the user to find it and store
it in another location. And the way you described is a common
javascript trick that got explained to you in the answer.

voyager-ga
Subject: Re: web design how to reserve my pic not to be copied
From: lot-ga on 02 Oct 2002 05:36 PDT
 
Hello wangzhijun50-ga 
the javascript 'no right click' action acts as a good deterent, 
- enough to ward off casual copiers

However as voyager-ga has mentioned it is stored in the browsers cache
and more advanced users can fish out the images.

August 2001 I needed to implement a high security mechanism to prevent
people copying sensitive documents and explored all forms of browser
plugin's and programming methods, it's  hard to find an inexpensive
mechanism which protects effectively against screen captures, "print
screen" is too accessible. At the end of the day it depends on how
sensitive your images are.

kind regards 
lot-ga
Subject: Re: web design how to reserve my pic not to be copied
From: cyclometh-ga on 03 Oct 2002 23:08 PDT
 
If you have a page on the World Wide Web, and you have an image that
you place in that page, the short answer to you question is that you
cannot prevent someone from copying the picture.

In fact, whenever someone loads a page, their browser retrieves the
picture. Intercepting the "right-click" that allows a user to save an
image to disk is essentially meaningless, because a user determined to
get the picture would simply retrieve the image from your system
directly.

And even if you managed to find a way to prevent someone from
discovering the URL of the image and downloading it directly, at the
same time preventing them from saving it to disk by right-clicking it,
a simple screen-capture of the image in the browser window is
possible. Javascript tricks to quash menus are so trivially easy to
bypass as to really not be worth the effort of installing them, in my
opinion.

The bottom line is that if you must absolutely prevent an image from
being copied by users on the Internet, do not put it on a web server
or reference it from a web page. There is no way to prevent a user
from copying a publically available file, and an image in a web page
is openly available.
Subject: Re: web design how to reserve my pic not to be copied
From: zoemc-ga on 06 Oct 2002 18:39 PDT
 
Hi wangzhijun50-ga,

Well as everyone has stated here there is no way of stopping people
from downloading your images.

Though there is a little trick that I like to use.  I cut the image up
(slice it) and then place it together to look like a whole image. 
When they go to save the image they will only save a section of the
image and generally don't realise it until later when they go to use
it.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy