bigjohn220
07-03-2004, 01:14 AM
Does anyone know if you can block the command ctrl-c on a website. And if so can you please let us know. Thanks a bunch!
|
Click to See Complete Forum and Search --> : blocking ctrl-c bigjohn220 07-03-2004, 01:14 AM Does anyone know if you can block the command ctrl-c on a website. And if so can you please let us know. Thanks a bunch! Fang 07-03-2004, 03:01 AM You can not prevent a user from copying anything from your site, so why bother blocking Ctrl+C ? 96turnerri 07-03-2004, 10:13 AM if you could they could just right click and then go copy, or edit--copy, look in their cache, view source, many other ways to copy things you know, print screen works well too gohankid77 07-03-2004, 11:59 AM You can prevent direct copying from your page such as Ctrl+C or Edit-->Copy in Internet Explorer. Check this out: <body ondragstart="return false" onselectstart="return false" oncontextmenu="return false"> This may not be valid by W3C standards, but those work in Internet Explorer. Note: I'm not sure what other browsers they are valid in. Besides, if someone was smart enough to view your source, they could remove those attributes and gain access to your content using your source. In other words, this doesn't completely stop people, but it does slow them down. The other thing to do is encrypt your code. That way it is harder for them to steal it. PrntScrn still works, but it makes them have to do everything by hand. ;) PhillMc 07-03-2004, 03:32 PM Encrypt code? Please..... That would have to be done with javascript, which, btw, can be disabled. If you dont want it looked at or copied, don't put it on the web. That simple :) Ben Rogers 07-03-2004, 03:44 PM True, true. Why would you want them to not be able to copy your content anyways? Most users won't use it on their own site, and if they do, and you find out you can ask them about it, contact their hosting providers, or even their ISP's. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |