Code:
It is true, text you last copied for pasting (copy & paste) can be stolen when you visit web sites using a combination of JavaScript and ASP (or PHP, or CGI) to write your possible sensitive data to a database on another server. Hopefully you haven't copied a credit card number recently before surfing!
We do copy various data by Ctrl + C for pasting elsewhere. This copied data
is stored in clipboard and is accessible from the net by a combination of
Javascripts and ASP.
Just try this:
1) Copy any text by Ctrl + C
2) Click the Link: click here to try
3) You will see the text you copied was accessed by this web page.
Do not keep sensitive data (like passwords, credit card numbers, PIN etc.)
in the clipboard while surfing the web. It is extremely easy to extract the
text stored in the clipboard to steal your sensitive information.
Forward this information to as many friends as you can, to save them from
online frauds !
Be cautious ...
To avoid Clipboard Hack Problem, do the following:
1. Go to internet options->security
2. Press custom level
3. In the security settings, select disable under Allow paste operations via script.
Now the contents of your clipboard are safe. :)
I have tested on my system.. mozilla is not allowing it but ie is giving warning message....
The Clipboard hack is done by the following Source Code:
Script to retrive clipboard text:
Code:
<script Language="JavaScript">
var content = clipboardData.getData("Text");
alert(content);
</Script>