There is a code snippet to disable drag & drop and increase security. This code will prevent mouse-dragging of images from a web page onto the desktop.
Drag-and-drop describes the action of selecting an image on a web page with the mouse and then click-dragging it to desktop. Drag-and-dropping is one of the many methods that are available for copying images from web pages.
copy and paste to get this code or you can use the download
This page can be tested. Try left-clicking the mouse on an
image to drag to the desktop.
The code above gives an example of exactly how it should be
Do not count on this method to stop copying.
To properly prevent copying, you need control at system level such as
that provided by the CopySafe PDF Reader or
CopySafe Web solutions.
Click to download
No-Drag'n'drop.zip (1 Kb)
Return to the Code Snippets Index