Helpful Information
 
 
Category: Other
I'd love some assistance!

Firstly I am fairly new to site building and use site building software but am learning about advanced HTLM options as I continue to build. I recently decided to use the "disable right click" script but I'm not a 100% if it's working. Well...I know it's working because I've tried it myself and the message comes up "function disabled". However, someone viewed the site today and I just don't know if their attempt to copy pictures was successful or not. I have a tracking cookie on the site and instead of my individual pages coming up, there are about four lines labeled "my documents 2%.....etc. and htm. Does this mean that the viewer found away around my attempt to disable the right click so my site cannot be copied in any way? Any assistance to explain this to me would be appreciated.

Thanks so much!

First of all... Some version of the disable right click script can be fooled... click and hold right mouse button, click the alert with the left mouse button (still holding the right button), when the alert dissaperars let go of the right button. There You have it...
Secondly, why use disable right click if anyone can see the source easily with clicking view -> source (on IE)?

Cookies are sent to remember each client's settings. So I don't think that You can monitor a person's activity by looking at Your own cookies... If You want to, You'll have to look at that person's cookie, in that person's computer.

Hi

I do not seem to have the same issue with my code, hope it helps.. remember there is always a way around it, as the site is loaded into the persons PC, hence they can get the pictures etc etc if they know where to look and feel the need ;)

</SCRIPT>
<BODY><!-- Start of right right click disable script by Simonf-->
<SCRIPT language=JavaScript1.1>
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("All Content Copyright MySite");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
// End -->
</SCRIPT>

Thank you both for your replies! I have been researching since I posted here and I do realize that if someone is truly determined to copy pictures it can still be done no matter what the webmaster attempts. I do not want to make it easy and want to preserve the photos as much as is feasibly possible. Gigabites I am not sure if I completely understand your reply....probably as I am still so new to website building in general. I also believe that "tracking cookie" may have not been the correct terminology in my post. I have an invisible statcounter on each of my pages on my site and since I disabled the right click I have noticed that with this one particular visitor the individual pages they visit are shown and I am getting other lines which read - /c:/Documents%20 and %20 Settings/owner/My%20documents/______.htm. The text usually follows one particular page which leads me to believe maybe they have already found away around the disable right click and are copying my images?

Also...I've heard of a method of "creating a transparent .gif" which may help me some in preserving my pictures. Has anyone else used this?

@simonf :
Click and hold right moue button, click the alert with left mouse button, let go right mouse button, click the alert again with left mouse button, I can see the right-click menu... I'm using IE 6.0.2. I've seen some pages with perfect no-right-click script, but I cant remember them :p

@Tazmia :
I mean that Even if You use no-right-click script in Your site, One can still get Your pictures. Just click (In the toolbar) view -> source (Or press alt+v, c)... -I assume You use Internet Explorer & toolbars are available (non-modeless window)- Then One can see the source of Your entire page! Links to Your images are written there, ex. <IMG src="www.mysite.com/images/myimage.jpg">. Write "http://www.mysite.com/images/myimage.jpg" on the address bar and One can see the picture & download it...

Simonf is right, no matter how hard You try to hide it, One will always find a way to get the pictures :p
One thing that You should realize is that everytime Your browser makes a request to a website, www.dynamicdrive.com/index.html for example, it downloads everything (well, not everything actually :p) that is referred on that page. Pictures, swf files, java applet, etc. Thus, if a person see pictures on Your site, whether You like it or not, thoose pictures are actually being downloaded by that person's browser! It's already in that person's computer...

Oh I see... You mean a web statisctics right? Surely You can see if someone try an 'illegal' request from here...

Transparent .gif for watermark.. Well, If You can't stop someone from d/l-ing Your pictures, the best You can do is to put Your copyright in it... :)

Thanks gigabites! I can see I still have alot to learn! Yes MSIE . Yes web stat counter which records each visitor and the pages visited. I have visitors from around the world....it seems to be only the one visitor from the US where I am getting messages that I can't figure out. Maybe they are linking to this particular page - just can't tell as I am still so new at this unfortunately! I have noticed those that twice they disabled their Java went back into the site , exited and re-enabled and went in again. Just wish I knew what they are up too! As for an "illegal" request - In don't know what that would even look like or how it would read in a stat counter?! The transparent .gif was something I read up on which is where you create a transparent .gif as a overlay on the original image so they only get a blank when they try to save.

Thanks again for all your help - I'm not sure what I will do yet. I have one page dedicated to a ton of pictures - just don't know how I feel about showing that one.

Tazmia

Just to add my 2 bits in here, i will say it is IMPOSSIBLE to keep others from getting your pictures no matter how hard you can try. There is of course the ever present right click, the changes and inability to block it on other browsers, programs that will scan throughout your site and steal all the images, and even flash, which atleast seems like a good way to keep them from getting your pictures is beatable, (i have done it even before) first of course by dissasembling your flash, though for me i didn't have it and such and didn't want to bother, so i just used a screenshot program, don't remmeber which, but hypersnap for instance, and crop out the images, anything they can see, they can take ;P

Thanks Sgt! Your 2 bits is certainly welcome and I understood....I guess maybe I will just have to sit down and go through the photos and decide which ones I don't care if they take and leave off the ones I do! That's probably going to be the easiest solution I think. Pity!

Oh....I did find out some add'l information regarding the readings I have been receiving via my web site stat counter. What I have been informed by them that it appears someone has found two of my pages within my web site useful enough to download the whole page. The readings which are being recording back to the stat counter is as a result that they not only downloaded my whole page but the invisible stat counter as well so ever time they look at it on their own pc it is registering from their computer back to the web site of the stat counter. HOW SCARY IS THAT????????? Any one else experience this? I'm almost ready to close the site and rename under a new one!

First of all, like in art, them downloading your site from liking it can be seen as a compliment. Second of all, if you moved and renamed your site, the same will probably happen. The only way you would really be able to keep this from happening is for noone to visit your site really, though not the every day surfer takes an entire page. You also if you ask me, look at the stats of your site way too much and should leave it alone for a bit, plus why should you complain on getting extra hits from the person? xD Oh, and if you even notice this user in the first place, then there is not any need of yet to really monitor your traffic in my opinion. Remember that the more the people that visit your site, the more people that are interested. I suppose in some cases that could be bad.. ? But for most sites its a good thing. The only time you should ever worry of anything of the sort is if it becomes excessive. As you say, its a bummer that you can't have those pictures up i suppose, but you need to expect that anything you put on the web can be spread over the net. If you still want to show your pictures though, you could maybe make a password protected section for certain people?

LOL! The only reason for the frequent visits to the stat site is because the subject of my site is aware of it's existence and I've been waiting patiently for their visit to give me an evaluation since they are very "savy" in site building!
You must have read my mind for I've already considered a password or sign in of some kind with regards to the photo page only. Is it normal though for people to download a whole page? I have read some information lately about software which is a "Website Copier" where one can download a "World Wide Web site" from the Internet to a local directory, which allows you access to HTML, images and other files and virtually creates the website for viewing off-line. Anyway since this particular person only downloaded two pages which have new images they may have downloaded the whole page to get around my "disable right click". I found a good thread here about transparent GIF's that can be done in Photo Shop and or Adobe that I may try. I guess my concern is that someone may have been planning on creating my site as their creation. Considering the subject matter is not native to my area....and most information on them is in "French"....I do believe my "English" version is a huge assistance to those who are interested and don't understand the language!

Thanks Sgt. for your 2 bits!

Hi.

Unfortunately it is impossible to stop people from stealing content if they want to. The fact of the matter is, that at one point or another, the data goes from your host to their computer. With a little technical knowledge ;), the interception of that data is easy.

cr3ative

Although I am new at site building.....I am learning this fact all too quickly! As for the "knowledge of interception"....don't have a handle of that one quite yet! But I am a fast learner!

I used the dynamic drive code to disable right clicking on a website and it doesn't work at all. Anybody know why? I am using Dreamweaver and when I do a browser check (test page on my machine) it doesn't work.
Possibly if it's online it will work?

Im sry if this diesnt help much :rolleyes:
but i have been on web sight where the Internet Explorer, View/Source has been disabled as well as the rightclick action, sry i dont have any code as i am a real noob who barely know any html, I use dreamweaver or publisher and almost got my electronic portfolio finished.
I,ll see if i can research some code forya though.

Hi hope this works for you I use it on my photographic site

Many a times there is a situation where an organization wants no one to right click, copy and paste the page, print or view source etc. To achieve this one should deactivate the mouse right button and the keyboard right click button.

But the same thing can be achieved with the help of the menu bar. We have to deactivate Alt key to restrict the user from accessing menu items.

After doing this there is one more possibility from where the user can directly take the stuff from the page. Just use Ctrl + A to select the whole page and directly Ctrl + C, Ctrl + V to copy and paste respectively. This option must also be disabled.

One more issue to take care is browser compatibility. It should work in Microsoft Internet Explorer and in Netscape Navigator.

Here's the code:

var isnn,isie
if(navigator.appName=='Microsoft Internet Explorer') //check the browser
{ isie=true }

if(navigator.appName=='Netscape')
{ isnn=true }

function right(e) //to trap right click button
{
if (isnn && (e.which == 3 || e.which == 2 ))
return false;
else if (isie && (event.button == 2 || event.button == 3))
{
alert("Sorry, you do not have permission to right click on this page.");
return false;
}
return true;
}

function key(k)
{
if(isie) {
if(event.keyCode==17 || event.keyCode==18 || event.keyCode==93) {
alert("Sorry, you do not have permission to press this key.")
return false;
}
}

if(isnn){
alert("Sorry, you do not have permission to press this key.")
return false; }
}

if (document.layers) window.captureEvents(Event.KEYPRESS);
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
document.onkeydown=key;
document.onmousedown=right;
document.onmouseup=right;
window.document.layers=right;

Put this code in a file called security.js and reference it between the <HEAD> and </HEAD> tags of any html or asp page using: <Script language="JavaScript" src="security.js"></script>

Many a times there is a situation where an organization wants no one to right click, copy and paste the page, print or view source etc.What an organisation wants, and what an organisation can realistically achieve are two very different things.

When publishing, one should seek to understand that medium, and understanding the Web should make it readily apparent that content cannot be protected outside litigation.


But the same thing can be achieved with the help of the menu bar. We have to deactivate Alt key to restrict the user from accessing menu items.What right do you think you have to even try to disable browser features? If you don't want content stolen then use a little common sense: either reduce the quality in some way so that the content isn't worth stealing, or don't put it on the Web in the first place. Trying to impose yourself on innocent users in some misguided attempt to provide security does far more harm than good.

Anyone that steals material from the Web with the intent of using it beyond personal reasons (that is; redistribution, reselling, and the like) will know how to get around your 'protection', so all you're left with are measures that prevent regular users from using their software as they should. The context menu and main menu (including other chrome, too) are important usability features. They should never be tampered with under any circumstances. This is why, I'm sure, decent browsers have long had preferences that prevent ignorant authors from affecting them.

Mike










privacy (GDPR)