Tuesday, October 21, 2008

CTRL+ C Hack Be Careful

Checkout the Shocking news about  the Ctrl+C (Shortcut to copy)
In the Day today  life the most used shortcut is this.But when you are using this on the web
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 to write your possible sensitive data to a db on another server. Hopefully you haven't copied a credit card number recently before surfing! 
see what happens......
Try to copy any text content by Ctrl+C
The Clipboard hack is done by the following Source Code: 

Script Language="JavaScript" var content = clipboardData.getData("Text"); alert(content);

 To avoid 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. :)

source: http://www.sourcecodesworld.com/special/clipboard.asp

No comments: