To protect your files, you need to follow the basic steps below:
1) Select files that you want to protect;
2) Set the protection options, according to which your files will be processed;
3) Protect
the files;
4) Test the results.
Interface of the program helps you to implement these steps with ease. Each step is supported by corresponding page of main screen. So when you run HTML Protect center, the "Input files" page appears.
Select the files that you want to protect Names of input files are presented in "Files to be processed" list. You can add new files to that list or delete existing ones using "Add", "Delete" and "Clear All" buttons.
Additionally, you can append file list with all *.html files in some folder. Just select the folder and click "Scan Folder" button. Enable "Include subfolders"option to scan folder including all subfolders.
Set the protection options
To set the protection options, open "Encoding/Encryption" page. There are two basic ways to protect source code:
1) "Encode text" -
source code is encoded by replacing text symbols with corresponding html "escape" sequences. for example, symbol "a" will be replaced by "%61", b - by "%62". And common html code
<td><table border="0">
will be replaced by the string
%3C%74%64%3E%3C%74%61%62%6C%65%20%62%6F%72%64%65%72%3D%22%30%22
As you can see the output string is longer then source string.
2) "Encrypt text" - source code is encrypted with well secured encryption algorithm. This method does not increase size of output file and ensure reliable protection, especially if you use protect tour page with password. It should be noted that decryption of such protected files takes some time. So they will be loaded by web browsers slightly longer.
"Code optimization" panel
HTML Protect Center can optimize the source code of your pages by removing all useless bits such as recurrent spaces, tabs and new lines. To enable source code optimization, check "Light optimization" option.
"Protection" panel
Select the code areas that be processed by HTML Protect Center. HTML Protect Center can process - only predefined "Tagged Areas" of source code (text between system tags
<!--hpc_start--> and
<!--hpc_end-->);
- only "Body Section";
- "Entire Page";
- nothing ("Without Protection").
"Java Script" panel
When protecting the files, HTML Protect Center generates some additional Java Script code according to current protection settings. That code may be included into code of html file ("Insert script into page") or saved to external 'protect.js' file ("Use external .js file") . In that case you need to upload that file along with your html files.
If you want to use additional protection options, open "Protection" page and enable desirable items.
Protect the files
To protect selected files just press "Protect" button in the top button panel and HTML Protect Center will process all files in File List and save the results in accordance with "Save options".
Test the results
Once all files have been protected, "Output files" page appears. "Processed files" panel contains the names of output files. You can select any one and view its source code ("View source") or test in default web browser ("Test"). |