Go Premium for a chance to win a PS4. Enter to Win

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

Disable right click,ctrl,print in web page

HI,

I would like to disable right click, Ctrl keys, Print screen,View source in all browsers.

0
Ahmed_amg
Asked:
Ahmed_amg
  • 3
1 Solution
 
David S.Commented:
Why annoy your users like that? There's still the Edit menu which you can't disable.  And there are other ways to copy content if people really want to.

The bottom line is if you really want to protect your content, don't put it on the WWW. (Or make people sign something like a non-disclosure agreement.)
0
 
hankknightCommented:
HTML is a Hyper TEXT Markup Language and not well suited for what you wish to do.

Is there certain content on your website that you don't want people to steal?  There are tricks that you can use with HTML however anything created with HTML can be grabbed by anyone who knows anything about HTML.

If possible, deliver your content using something that provides more copy protection such as Flash or PDF.

You could create a PDF document and disable print and copy privileges for the PDF document:
http://createpdf.adobe.com/cgi-feeder.pl/help_security

Then you can place the PDF on your website in an iframe in such a way as visitors would not know it was a PDF document.  Still not fool proof but better than HTML.
0
 
hankknightCommented:
You may want to ask a question about this in the Flash section:
http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/

Flash is much better suited to disable right click, Ctrl keys, Print screen, and View source.
0
 
hankknightCommented:
You may be interested in this (I have not tested it)

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_21038839.html#11408500

However I will warn you that nothing is fool-proof!
0
 
Ahmed_amgAuthor Commented:
T
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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