Encrypt HTML ::: Frequently asked questions:

Protect HTMLIf I protect HTML source, can it be edited with html editors?
No. It is not possible to edit the protected HTML code with such programs. Of course you can modify it in text editors, but changing even a single character in the encrypted code will result in a non-working file. After you protect HTML code, any WYSIWYG editors such as HomeSite, Macromedia's DreamWeaver or Microsoft's FrontPage will not be able to read it - protection will hide HTML source of the original file from all programs.
If you want to make changes, you'll have to edit the original file, then encrypt it again and upload it to your server.
<<< Go Back <<<

Can I protect java applets (.class, .jar, .cab files)?
It is not possible to protect the java files(.class, .jar, .cab, .zip) with Encrypt HTML source.
But you don't have to worry about that. Almost all applets need to be configured to work - this is done through parameter tags inside the <applet> tag, i.e. the applet configuration is a part of the html code. The applet files are useless if you don't know what parameters to use and what values are acceptable for each of them, but this info can't be obtained from the encrypted html file. So your applets are safe.
There are also many applets you have to pay for. They usually need some kind of a registration number to work, and this number is usually provided as a value of a parameter inside the <applet> tag - anyone can view it, get the applet files and use them without any problems. If you encrypt html files which use the applet, this will not be possible.

<<< Go Back <<<

Can I password protect HTML files? How secure is html password protecion?
Yes. Your website (or individual html files) can be password protected.
You should check the 'Password protect this page' box, and in the password configuration dialog to set the password and the action in case the visitor enters an incorrect password.
It is practically impossible to extract the password from the encrypted file, especially if you use the alternative encryption method(for IE 5+ only).
<<< Go Back <<<

What from my source code will be encrypted and how?
For html and frameset files, everything will be encrypted except some parts of the head tag, such as meta tags(unless you check 'Encrypt Meta Tags' box) and the page title - they will remain unchanged. Of course if you select partial encryption only parts of the code specified by you will be encrypted. Scripts (javascript or vbscript) are always entirely encrypted.
<<< Go Back <<<

Is it possible to prohibit visiting my website with certain browsers?
Yes, you can. You should create a browser detection javascript for that. The best way is to put this script in a separate .js file, let's say br_detect.js
Then you should add a reference to this script in each of your html files like this
<script src='br_detect.js'></script>
The above line should be included in the HEAD section of all your files for which you want to detect the browser.
Below is a simple browser detection script( there are much better examples available on the web which can detect the browser build, the OS, the browser support for different plug-ins and many other things):

if(document.all&&!document.getElementById){brwsr='ie4'}; /* Internet Explorer 4.x */
if(document.all&&document.getElementById){brwsr='ie5'}; /* Internet Explorer 5.0 or higher version */
if(document.layers){brwsr='nn4'}; /*Netscape 4.x */
if(window.sidebar){brwsr='nn6'}; /* Netscape 6.0 or higher */
/* Opera - any version */

Now let's say you don't want your site to be visited by Opera browsers - you should include a line like this in the script:

This will redirect the Opera browsers to the error.htm page (you should create it). It may state something like
'This site can't be viewed with your browser. Internet Explorer 5 + or Netscape 6 + is required'
Netscape's 4.x implementation of javascript is really bad, least to say - the above script may not work in some Netscape 4.x versions. If you don't want your site to be visited by Netscape 4.x browsers, it's better to include this in each page or at least in your main page (not as a .js file but directly in the html source, HEAD section):


<<< Go Back <<<

If I protect html code, will this affect the performance?
This is rarely possible for very big files (500 - 800 KB and more) opened on very old and slow machines, if the classic protection is used. We recommend to switch to protection method 2 - it is optimized for bigger files. Please note that a part of the delay when loading such files is for downloading the protected html code, not for rendering it.
<<< Go Back <<<

protect your html source

   © Encrypt HTML is a trademark of Code Protection Technologies Inc. All rights reserved.