how do you prevent users from copying ctrl-c content from your textboxes

  • Thread starter Thread starter Mark C
  • Start date Start date
M

Mark C

how do you prevent users from copying ctrl-c content from your
textboxes. I know how to do this with IE which is
<body onSelectStart="return false;">

but does not work in Mozilla

Thanks
Mark
www.quiznetonline.com
 
Hi,

Mark said:
how do you prevent users from copying ctrl-c content from your
textboxes. I know how to do this with IE which is
<body onSelectStart="return false;">

but does not work in Mozilla

Thanks
Mark
www.quiznetonline.com

I agree with Mr SweatyFinger. What is published on the internet is
public, and every attempt to protect it from copy is doomed to fail. In
the case you mention, the first obvious thing that comes to mind is to
temporarily disable JavaScript, copy-paste, and then enable it again.

Greetings,
Laurent
 
how do you prevent users from copying ctrl-c content from your
textboxes.

You can't... Any of the "methods" you'll find on the Internet to do this are
so easily circumvented that it's simply not worth the bother.

If you're so paranoid about your data, then the public Internet is clearly
not the right place for it...
 
Your wasting your time worrying about it dude.
Absolutely.

Even systems that use javascripts document.write to write the content from
a decrypted source doesn't stop the end user simply re-keying what your
displaying.

There are plenty of freeware screen-scrapers which will do this for you
too...
 
One common technique is to output the text as an image.
They could still copy it as an image, but generally that's not very useful
for textual content.
 
Back
Top