1. Home
  2. Computing & Technology
  3. JavaScript

Web Page Encryption

1. Custom Decryptor Script

clr gif
Join the Discussion

Questions? Comments?

More of this Feature

HTML Encrypter

There are lots of programs out there that you can buy that will encrypt your web page and supposedly protect your page content from theft. Actually, the encryption of a page makes no difference at all to how easily it can be stolen by knowledgeable thieves who can easily bypass the encryption in seconds using nothing more than a web browser. So save your money and if you feel that you must encrypt your page source use the form on this page and the one following to generate most of the same page protections as the most expensive programs that can be bought to do the same thing.

The first step is to use the form on this page to generate your own customized version of the decryptor script to be placed in the head section of your web page where the body code is to be encrypted. You can either place this code into an external file already attached to the head of your page or select the option to generate the script tags and paste it directly into your page. As well as providing the function that will allow browsers to decrypt your encrypted page source the script can also optionally include several other page protection options if you select them.

You can use this same decryptor script on any pages of your site that you want to encrypt but the script can't be used anywhere else since if the script is used anywhere else your home page will be loaded instead of the page that calls it. This will make it harder for people to save your page onto their computer and access it there.

Now that the decryptor script is in place the next step is to select the HTML source from the body section of your page that is to be encrypted and process it through the Encryptor.

Custom Decryptor Script | Encryptor Script

Note that this form and the scripts that it uses are copied from the "Ask Felgall" website with the permission of the copyright owner.

Explore JavaScript
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

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

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.