1. Home
  2. Computing & Technology
  3. JavaScript

Source Protection

You can't do anything to protect your source code and images from anyone who knows how to bypass all of the "protection" but you can make it more difficult for those who don't.
No Copy
Make it clear that yur web pages are not to be copied by adding this simple code to the bottom of your pages.
Image Protection Script
This script generates HTML code for you that uses a less common approach than the easily bypassed no right click script. The image that will be saved if someone right clicks on an image added to your page using this code is not the image that they expect. It may be some time before they realise that they have stolen the wrong image.
Encrypt Your Web Page
Some people pay hundreds of dollars from a program to encrypt their web pages. You can achieve the same result free by using this script. Either way those who know how will have your page decrypted in about 30 seconds.
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript
  4. Script Makers
  5. Source Protection

©2009 About.com, a part of The New York Times Company.

All rights reserved.