Prevent Control C

TheWizardofInt

Well-known member
Joined
Dec 31, 1969
Messages
333
Location
Orlando, FL
I know this is more HTML than ASP.Net, but is there a way to inhibit the Control C function so that people cant download the text from my web site?

Thanks!
 
You can trap window events to handle keystrokes, including stopping Ctrl-C from copying. Youd also have to disable the right-click or they could copy text that way, too.

But (big one)! A user can still click File->Save As and then view the source code that way and you cant prevent that.

Not to mention if the user can see it, they could type it in exactly the same way themself (though tedious, it would work).

Ive seen a few websites that now render text as an image - it looks to be happening on the fly, too. That prevents cutting and pasting since theres no text to copy. But its much slower and would be a lot of network traffic for the image (compared to text). And the user could still type in what they see manually.

If you still want some javascript, let me know.

-Ner
 
Theres no way to do this anyway -- all you need to do is use Telnet and connect to the site and it will send back the HTML, free for you to copy.

If you dont want people to use the text, I wouldnt put it on the internet at all. If you want protection from web-spyders, use images.
 
Thanks for responding. If you could post the javascript, I would really appreciate it

I know you cant stop them from a file/save as, but most people dont think of it. I am only looking to make it worth someones while to spend the $10 to buy the CD
 
I also might mention, that non-IE browsers such as Opera and Mozilla will probably allow Control-C regardless of JavaScript - I know right-click disablers dont work in Opera and Mozilla.

Might I ask what it is that you are trying to stop people from downloading?
 
I have a manual for using GoldSync in GoldMine.

I let people read it for free. What I dont want to see is this thing showing up on someone elses web site as their work and creation. A good manual can take days to write, and this one is pretty outstanding.

If they want it they can use it from the site or buy it on CD and do what they want with it
 
It sounds like you may just want to secure the website, if you have access. I hear that you want to charge people a fee to view your manual but you dont want them to distribute it. Providing it as a free website means anyone could copy the pages, link directly to it, etc. Im not sure how youd even keep Google from crawling the site :)

Another option might be to zip up the contents or use a protected PDF with a password. Those paying the fee could be emailed the password. That wont prevent people from copy the manual WITH the password, but it doesnt sound like you want a real robust solution - just something to deter the casual copier.

-Ner
 
Back
Top