Excluding CTRL-C key stroke

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In ASP classic is there a way to prevent copying of the web page by
preventing the use of the copy command through CTRL-C. What is the code that
would need to be inserted. Thanks!

Dave
 
Dave said:
In ASP classic is there a way to prevent copying of the web page by
preventing the use of the copy command through CTRL-C. What is the code that
would need to be inserted. Thanks!

The easiest way to find out is probably to do it in ASP, view the
source of the code that's generated on the client side, and make
ASP.NET output the same code.
 
Jon, I am not using dot net. I am just trying to exclude the use of the
keystroke in classic.
 
In ASP classic is there a way to prevent copying of the web page by
preventing the use of the copy command through CTRL-C. What is the
code that would need to be inserted. Thanks!

No chance. Everything that is downloadable on the net can be copied...
you can just make it a little bit harder.

However, classic asp has nothing to do with the final HTML and what the
user is doing - so you might have a look at java-script that allows you
to control certain keystroke actions. Just be aware, that not everybody
has java-script enabled, and it can also be turned off easily.

Additionally, when controlling the CTRL-C keystroke - who holds you back
to use a "right-click -> copy"?

.... and last but not least: Why are you asking such questions (classic
ASP, HTML etc.) in a .NET programming newsgroup?

Markus
 
We have already disabled the right click and your suggestion about using java
script for the ctrl-c function makes sense. You are right in saying it is
probably posted in the wrong place but I could not find classic asp in the
form msdn forums - perhaps you would be kind to show me a link to it.
 
We have already disabled the right click

You only think you have. What you have described is not possible.

Bob Lehmann
 
Back
Top