Avoid copy paste Web content

Hi experts, how can I protect the content of my Web Site, avoiding the copy-paste action on my pictures and text like it happen with Flash content

Who is Participating?
ClickCentricConnect With a Mentor Commented:
That can be easily defeated by putting a javascript call in the address bar on most browsers.  They're right that there's really no way to prevent this.  You may want to use a flash or java viewer for your content to limit the browser's capability of doing this.  And note that browsers like Opera will always be able to copy and paste any text that's directly rendered as html on a page because their context menu isn't confined to the page and works outside of it.  Look for an alternate means of display if it's something you really want to protect.  And if you have any doubts about what I'm saying, install Opera and view that page.  The context menu pops right up as it always will.  Other browsers will likely adapt the same concept in the future.  I've even seen better methods than what that page uses where people went to tremendous effort to try to avoid it and Opera was still able to do it without even slowing down.
Don't put them on the web.

Kind regards

Nice, to the point comment Roonan :-)

>> mnateras, Flash is the only thing I know of where you can prevent download of content.  I use it on some of my sites, but I'm sure it might not be 100% hacker proof.
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

If visitors can see it or hear it, then somebody will find a way to copy it.  The best you can hope to do is slow them down.

If you are looking to slow them down, here's an example of how to disable the right-click context menu:

<head>Your page title</head>
<body oncontextmenu="return false;">
    Your content goes here.
mnaterasAuthor Commented:
Ok, let me give an example


the right click of the mouse, doesn't show the contextual menu.

How can you program that?

mnaterasAuthor Commented:
Thanks, good answer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.