[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

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

Thanks
0
mnateras
Asked:
mnateras
1 Solution
 
RoonaanCommented:
Don't put them on the web.

Kind regards

-r-
0
 
jrramCommented:
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.
0
 
WilliamFrantzCommented:
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:

<html>
<head>Your page title</head>
<body oncontextmenu="return false;">
    Your content goes here.
</body>
</html>
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
mnaterasAuthor Commented:
Ok, let me give an example

http://www.tiendavirtual.ws/oxigenobaja/contenido.cfm?cont=PRODUCTOS&seccion=OXIGENO

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

How can you program that?

0
 
ClickCentricCommented:
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.
0
 
mnaterasAuthor Commented:
Thanks, good answer
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now