How can i disable copying data from webpage or Website ? Restrict copying data from webpage,ways to disable copy paste from website
To be very frank its impossible for anyone to disable or restrict user from copying data from the website.
If you disable the ability to select text, the context menu or even just the copy option from the context menu users will still be able to see your content.
If they can see it they can copy it:
they can
Even if we use hundred and thousand of ways to precent copy paste, any one can open Page Source and copy data from there.
But why we need to disable the copying of data ?
Data present on some of the sites can be unique and if the author don't want that data to be replicated,copied very easily, in such cases we need some method to block most of the users.
Techniques to implement:
1. Disable right click (mostly used )
2. Disable right click and catch CTRL +C
3. Render your text in to an image on the server and send down the image and not the raw text.(wastage of serve space , efforts and bandwidth)
4. You can disable the selection, and with out selection you do not have copy/paste.
I am implementing it with the CSS
lets see how..
HTML like this :
And the correspondant CSS :
Hope This helps.
Incoming Search items:
To be very frank its impossible for anyone to disable or restrict user from copying data from the website.
If you disable the ability to select text, the context menu or even just the copy option from the context menu users will still be able to see your content.
If they can see it they can copy it:
they can
- Take a screenshot.
- Take a photo.
- Type the text they see into Notepad.
- Dictate the text into a recorder.
Even if we use hundred and thousand of ways to precent copy paste, any one can open Page Source and copy data from there.
But why we need to disable the copying of data ?
Data present on some of the sites can be unique and if the author don't want that data to be replicated,copied very easily, in such cases we need some method to block most of the users.
Techniques to implement:
1. Disable right click (mostly used )
2. Disable right click and catch CTRL +C
3. Render your text in to an image on the server and send down the image and not the raw text.(wastage of serve space , efforts and bandwidth)
4. You can disable the selection, and with out selection you do not have copy/paste.
I am implementing it with the CSS
lets see how..
HTML like this :
<span class="protected">Datas you wants protect</span>
And the correspondant CSS :
You can check it is working HERE.protected {-moz-user-select:none;
-webkit-user-select:none;
user-select:none;
}
Hope This helps.
Incoming Search items:
- Restrict copying data from webpage or website
- disable copying data from webpage
- Disable copy paste from website
- ways to disable copy paste from website
0 comments:
Post a Comment