Encrypt HTML FAQ - technical encryption issues

HTML Guardian FAQ - Technical issues

If I encrypt HTML source, can it be edited with html editors?
No. It is not possible to edit the encrypted HTML source in such programs and environments. 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. When you encrypt HTML code, any WYSIWYG editors such as DreamWeaver or Expression Web will not be able to see it - protection will hide HTML source of the original file from all programs.
Back to Top

How to remove the banner from encrypted HTML and script files?
If you purchase HTML Guardian Professional or HTML Guardian Enterprise Edition, the banner will not be included in the encrypted files. You can do this here.
A complete comparison between HTML Guardian Personal, Professional and Enterprise editions you can see here.
But we suggest that you first try the free Personal edition which has all the features of the Professional / Enterprise editions. You can download Personal edition here and test it as long as you wish, it doesn't have any time or functional limitations.
Back to Top

Will encrypted files be displayed correctly in all browsers?
The current version of HTML Guardian has been tested with versions 4.0 and higher of Internet Explorer, Netscape, Mozilla (and its various clones), Firefox, Opera, Chrome, Safari browsers. However, encrypted files should work fine in any javascript enabled browser on any platform / operating system. There is no requirement for a specific version of javascript, the very first one is enough. HTML Guardian automatically adds <noscript> tag to all encrypted html files, which will be displayed if the browser is not javascript enabled(but such browsers are something really exotic and hard to find these days).
Of course, files encrypted with the alternative encryption method(for Internet Explorer 5+ only) will not work in other browsers.
Also, encrypted files will work in all browsers built on Internet Explorer(no matter what encryption method was used), like NetCaptor, FastBrowser, ClickGarden, etc.
Back to Top

Can I encrypt files created on Macintosh computers?
Yes, you can. Note that Ascii files created on MAC/UNIX(like) systems are different from ones created on Windows, although the differences are not visible - Mac/UNIX use different characters to mark a new line. That's why the files should be converted to Windows format before encryption.
HTML Guardian will detect and convert such files automatically in almost all the cases, but if you have problems with files created on non-Windows machines, you should convert them to Windows format before encryption.
There are several programs that can convert files from any format to Windows format, like for example UltraEdit (click File --> Conversions --> UNIX/MAC to DOS)
Back to Top

Will encryption increase the size of the protected file?
Not really. Typically HTML Guardian will add less than 1K to the encrypted files, if no additional options are used. If you select all additional options, this will additionally increase the size with about 1K. (For personal edition, additional 1K will be added because of the HTML Guardian banner). This is practically nothing, it will increase the download time with less than a second if your visitors use 28.8 modem, which is something really rare these days.
The above applies only to small files, like 10K or smaller. If the file to be encrypted is bigger, the encrypted file could be even smaller than the original. That's because HTML Guardian compresses the code before the encryption, i.e. it entirely removes the html formatting. All unnecessary blank lines, new lines, tabs, spaces and so on(which otherwise make your code look steady and easily readable) are removed, html and script comments are removed too.
Back to Top

How to encrypt multiple files at once?
There are several ways to do that, choose the one that best fits your needs.
- To encrypt quickly all the files in a folder, click the 'Select folder' button, then set the desired protection options and click 'Encrypt'. All appropriate files in that folder will be encrypted(HTML, Javascript / VBScript, ASP). Encrypted files will be saved in a Folder_name_E folder under the same names. This method has some limitations - all files will be encrypted with the same set of protection options.
- For maximum flexibility, use HTML Guardian's File List Manager. This way you can encrypt at once sets of files which reside in different directories, and you can use different protection options for each file.
- HTML Guardian also offers a full command line support. You can use this feature to control HTML Guardian from another applications like your own VisualBasic, C etc. programs.
File List Manager and Command line reference and some examples you can see here.
- To encrypt an entire website (or any set of files that reside in one folder) both for 'All' and 'IE5+' browsers with different protection options for each file, use HTML Guardian's Site Manager. It will make two separate encrypted copies of your site and will generate a file which will redirect the visitors to the appropriate encrypted version of your files depending on the browser used. This way people that use IE 5 or higher(now about 90 % of all web users) will see the files encrypted for IE 5+ browsers, and the rest will see the files encrypted with the default method (for 'All' browsers).
- You can perform most of the encryption tasks also in command line mode.
Back to Top

The encrypted file loads slow!
This could happen for big html or script files encrypted for All browsers. If it takes too much time for the browser to process the encrypted file, change the All browsers encryption method to Type II or Type III - they are optimized for bigger files. You can do this from the General Settings configuration window.
In case enhanced website image protection is enabled, check the Image Guardian tab of the Settings window and ensure the program is not set to split images into too many pieces.
Back to Top

The encrypted file doesn't work!
There could be several reasons for that, but you can be sure HTML Guardian is not one of them :)
Of course, first ensure that the original file works as expected. Make sure you have the latest version of HTML Guardian - the latest version available and the current built numbers of the Encryption engine and CodeAnalyzer engine are always listed on our support page. There you can also read about syntax requirements your files should comply with, although they are very basic and simple.
Read the "Known Issues" section of the Help.
To avoid errors, save encrypted file in the same folder as the original under a different name - this will ensure that all relative paths are correct.
Please carefully read HTML Guardian's Help file, "Known issues", "FAQ" and other sections. Most of the problems you may have when you encrypt html, script, asp, css files are explained there and a solution how to fix them is suggested. For image protection issues, read the "Image Guardian" section of the Help file.
Of course, you're are always welcome to contact our support team in case of any problems.
Back to Top

Password protected file is displayed even if I enter a wrong password.
This only looks like a bug. If you choose 'Display blank page' in case of incorrect password, this could never happen. If you choose 'Go back', but then you directly open the file(not by clicking a link to it in another file) it could happen, if you're testing the file offline. It could also happen if you choose to redirect the visitor to another url and you're testing the file offline.
These problems will not appear when your protected page is requested from web server.
Back to Top

Referrer check doesn't work.
This option will not work if you test the protected page offline, you have to put it online. Always check pages protected this way online! Note that some web servers does not support this option. If the online test fails, you host your site on such sever - in this case, don't use it.
Back to Top

You said HTML Guardian will dramatically increase visits to my site, but there is no difference at all.
We said that it could do so, not that it will !
By encrypting your site, HTML Guardian will protect it from being blocked by web content filters. Read more information here.
Many of our customers reported a noticeable increase in visits to their sites immediately after they started to use HTML Guardian. Some of them reported 2,3 or even 5 times more visits per day!
However, this depends on the nature of your site. If it is not likely to be blocked by web content filters, you don't have to expect more visits as a result of encryption. Also, HTML Guardian can't help if the filters block your site by its URL.
There are two ways web content filters block sites - by URL and by scanning the html code for certain keywords. Using the first method only is now considered unreliable because it requires maintaining huge databases with millions of URL's which has to be updated daily. Good content filters use both methods together. You can be sure that eBay.com, Amazon.com, Formula1.com, Travel.com, Download.com or mp3.com are blocked by their URL's. But sites which are not so popular and are not in the URL blacklist, are blocked after scanning their code for 'bad' words. If this is the case for your site, HTML Guardian can surely help.
Back to Top

I lost my original files! Can you help me recover them?
Sorry, we can't do this. Please don't ask us. We regularly receive emails like "I replaced my original files with encrypted ones by mistake, can you help me recover them?". We did our best to help users of HTML Guardian avoid such problems. HTML Guardian will never overwrite the original file with the encrypted one by default. The only exception is if you use batch file to encrypt multiple files at once, and you specify the same filename for the input and the output file.
So be careful when creating batch files, and please always backup your work.
Back to Top

Where is CodeAnalyzer? How to access it?
CodeAnalyzer is still here. However, since version 5.0 all the Code Analyzer engine settings can no longer be accessed from the user interface. During the beta test period we found that the too many options it has tend to confuse the users. That's way the CodeAnalyzer engine was almost completely rewritten. Now it runs in the background and sends feedback commands to the Encryption engine without the need of user intervention - the program automatically decides which values ensure best security and performance.
However you can still configure the most important Code Analyzer engine settings from the Profiles and Advanced Settings window (read more in HTML Guardian's Help file)
Back to Top

I can't install HTML Guardian Personal edition!
In some rare cases you may have problems installing HTML Guardian, like error messages during install process, or continuous prompts to reboot your system in order to update system files (Note: On some systems you may be prompted to reboot once so that the installer can update system files that are in use - this is normal, please follow the instructions).
These problems are due to some bugs certain versions of Windows system files have.
If you encounter installation problems, click here to download HTML Guardian Mini Setup.
Mini Setup only contains HTML Guardian core files and does not include any Windows system files, but they are already available on most Windows PC's because almost all programs install and update them.
Back to Top

I see an error message when I try to start the Auto Update Utility.
This is because some standard Microsoft controls are missing on your system.
Please download this file and follow the instructions in Readme.txt to solve the problem.
Back to Top

I see an error message "Component 'xxxxx.yyy' or one of its dependencies not correctly registered: a file is missing or invalid " when I start HTML Guardian or when I try to use some feature. What to do?
This means some .ocx or .dll file is either missing, corrupted or improperly registered on your system. HTML Guardian setup package includes all such files which the program needs to run, but you can still see this error message in some cases ( for example if you uninstall some other program, the uninstaller may remove some file which HTML Guardian needs ).
If you see this message, please download this file and follow the instructions in Readme.txt to solve the problem - this file contains most of the system files you may need. If the file needed is not included, you can mail our support team for it, but you can also find it yourself - just go to Google or some other search engine and enter 'xxxxx.yyy' or 'download xxxxx.yyy' as a search phrase - there are a lot of sites from where you can download .ocx or .dll files.
After you download the missing file, copy it to your \System32 folder. Then click Windows 'Start' button, click 'Run', in the box type
regsvr32 xxxxx.yyy
and click OK. You will see a message that the operation succeeded - something like 'DllRegisterServer in xxxxx.yyy succeeded'. That's all, the problem should be fixed.
Back to Top

HTML Guardian crashes when started on WindowsXP
In some very rare cases, when you start HTML Guardian on a WindowsXP system, you may see an error message like:
"HTML Guardian has encountered an error and needs to close" or similar (or the program may just quit without any error message).
This can be caused by some "tweaking" programs, for example WindowsBlinds and similar ones that carelessly modify the registry.
If you experience such problem, go to HTML Guardian's installation folder (most likely C:\Program Files\HTML Guardian ). Right click on the htmlg.exe file and select 'Properties' from the context menu. Click the 'Compatibility' tab. Check the 'Disable visual themes' box. If available, check also the 'Turn off advanced text services' box.
This settings changes will be applied only to HTML Guardian and will not affect other programs.
If the above doesn't seem to help, please check the related information in the program's help file.
Back to Top

HTML Guardian works slow
Could be, on relatively slow machines. HTML Guardian is very different from all other HTML Guardian - like programs. It performs a deep analysis of your source code first, in order to predict and avoid possible problems and to select the best possible protection for each file. It also tests and debugs the encrypted output and in case of failure, or in case the encrypted file security is unsatisfactory, it may restart the encryption process. All this takes time, but ensures maximum security and performance for the encrypted files.
There are however ways to improve the encryption speed:
- if you do not intend to use Image Guardian, disable it. If it is enabled, the CodeAnalyzer™ engine and the debugging engines perform a lot of additional tasks.
- disable Multi-language support if it is not actually needed. Multi-language support is not needed for pages that are in English and in most of the West European languages like Spanish, Portugese, French, German, Italian, Dutch etc.
Of course, if you experience problems when you encrypt html files that use West European languages, you should enable Multi-language support.
Back to Top

Go back Next: Beta Testing

   © 1997-2023, ProtWare Inc. All rights reserved.